2015-11-09 13:46:56 +00:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2021-07-29 19:34:46 +00:00
|
|
|
|
;;; Copyright © 2015, 2017, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
|
2016-06-21 13:46:15 +00:00
|
|
|
|
;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
|
2016-08-17 10:22:03 +00:00
|
|
|
|
;;; Copyright © 2016 David Craven <david@craven.ch>
|
2022-06-30 20:30:06 +00:00
|
|
|
|
;;; Copyright © 2016, 2019, 2020, 2022 Marius Bakke <marius@gnu.org>
|
2021-08-09 09:02:24 +00:00
|
|
|
|
;;; Copyright © 2016, 2018, 2019, 2021 Efraim Flashner <efraim@flashner.co.il>
|
2017-04-21 12:05:30 +00:00
|
|
|
|
;;; Copyright © 2017 Corentin Bocquillon <corentin@nybble.fr>
|
2017-06-24 19:03:47 +00:00
|
|
|
|
;;; Copyright © 2017 Gregor Giesen <giesen@zaehlwerk.net>
|
2017-07-14 13:22:49 +00:00
|
|
|
|
;;; Copyright © 2017 Frederick M. Muriithi <fredmanglis@gmail.com>
|
mailmap: Update entries for Nikita.
* .mailmap: change email and name for Nikita.
* Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish,
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/cinnamon.scm,
gnu/packages/compression.scm, gnu/packages/crypto.scm,
gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm,
gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm,
gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm,
gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.scm,
gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm,
gnu/packages/libcanberra.scm, gnu/packages/linux.scm,
gnu/packages/lisp-xyz.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
gnu/packages/ncurses.scm, gnu/packages/networking.scm,
gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
gnu/packages/rust.scm, gnu/packages/scheme.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
gnu/packages/tor.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-11 11:05:45 +00:00
|
|
|
|
;;; Copyright © 2017 Nikita <nikita@n0.is>
|
2022-05-29 00:00:03 +00:00
|
|
|
|
;;; Copyright © 2017–2019, 2022 Tobias Geerinckx-Rice <me@tobias.gr>
|
2018-02-17 20:44:04 +00:00
|
|
|
|
;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
|
2020-11-05 13:59:43 +00:00
|
|
|
|
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
|
2021-07-29 19:34:46 +00:00
|
|
|
|
;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org>
|
2023-04-15 06:13:31 +00:00
|
|
|
|
;;; Copyright © 2023 Alexey Abramov <levenson@mmer.org>
|
2015-11-09 13:46:56 +00:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages serialization)
|
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
|
#:use-module (guix packages)
|
2022-08-09 13:48:30 +00:00
|
|
|
|
#:use-module (guix gexp)
|
2015-11-09 13:46:56 +00:00
|
|
|
|
#:use-module (guix download)
|
2021-08-09 09:02:24 +00:00
|
|
|
|
#:use-module (guix hg-download)
|
2019-04-07 07:53:50 +00:00
|
|
|
|
#:use-module (guix git-download)
|
2017-01-24 14:40:11 +00:00
|
|
|
|
#:use-module (guix utils)
|
2015-11-09 13:46:56 +00:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2021-09-26 23:35:12 +00:00
|
|
|
|
#:use-module (guix build-system copy)
|
2016-06-21 13:46:15 +00:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2022-06-27 19:19:22 +00:00
|
|
|
|
#:use-module (guix build-system meson)
|
2018-02-17 22:29:53 +00:00
|
|
|
|
#:use-module (guix build-system python)
|
2015-11-09 13:46:56 +00:00
|
|
|
|
#:use-module (gnu packages)
|
2016-06-21 13:46:15 +00:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2021-09-26 23:35:12 +00:00
|
|
|
|
#:use-module (gnu packages base)
|
|
|
|
|
#:use-module (gnu packages bash)
|
2016-08-17 10:22:03 +00:00
|
|
|
|
#:use-module (gnu packages boost)
|
2016-06-21 13:46:15 +00:00
|
|
|
|
#:use-module (gnu packages check)
|
|
|
|
|
#:use-module (gnu packages compression)
|
2020-01-25 13:21:03 +00:00
|
|
|
|
#:use-module (gnu packages cmake)
|
2019-11-28 20:40:13 +00:00
|
|
|
|
#:use-module (gnu packages cpp)
|
2018-02-21 17:25:17 +00:00
|
|
|
|
#:use-module (gnu packages databases)
|
2016-06-21 13:46:15 +00:00
|
|
|
|
#:use-module (gnu packages documentation)
|
2019-09-18 19:44:15 +00:00
|
|
|
|
#:use-module (gnu packages gcc)
|
2021-06-14 14:34:35 +00:00
|
|
|
|
#:use-module (gnu packages llvm)
|
2017-01-24 14:40:11 +00:00
|
|
|
|
#:use-module (gnu packages lua)
|
2016-08-18 19:28:15 +00:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2017-04-21 12:05:30 +00:00
|
|
|
|
#:use-module (gnu packages python)
|
2019-12-04 07:56:36 +00:00
|
|
|
|
#:use-module (gnu packages python-science)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 13:21:30 +00:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2019-01-07 14:21:09 +00:00
|
|
|
|
#:use-module (gnu packages perl))
|
2015-11-09 13:46:56 +00:00
|
|
|
|
|
2021-04-20 14:39:34 +00:00
|
|
|
|
(define-public avro-cpp-1.9
|
|
|
|
|
(package
|
|
|
|
|
(name "avro-cpp")
|
|
|
|
|
(version "1.9.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://archive.apache.org/dist/avro/avro-" version
|
|
|
|
|
"/avro-src-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0i3fpm7r72yw397qc8yw9ybzk2mxjkv0yk5hnn00ylc1wbd0np73"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'chdir
|
|
|
|
|
(lambda _ (chdir "lang/c++"))))))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list boost snappy))
|
2021-04-20 14:39:34 +00:00
|
|
|
|
(home-page "https://avro.apache.org/")
|
|
|
|
|
(synopsis "Data serialization system")
|
|
|
|
|
(description "Apache Avro is a data serialization system. Avro provides:
|
|
|
|
|
@enumerate
|
|
|
|
|
@item Rich data structures;
|
|
|
|
|
@item a compact, fast, binary data format;
|
|
|
|
|
@item a container file, to store persistent data;
|
|
|
|
|
@item remote procedure call (RPC); and
|
|
|
|
|
@item simple integration with dynamic languages.
|
|
|
|
|
@end enumerate
|
|
|
|
|
|
|
|
|
|
Code generation is not required to read or write data files nor to use or
|
|
|
|
|
implement RPC protocols.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2021-06-14 14:34:35 +00:00
|
|
|
|
(define-public avro-cpp-1.9-for-irods
|
|
|
|
|
(package
|
|
|
|
|
(inherit avro-cpp-1.9)
|
|
|
|
|
(properties `((hidden? . #true)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
'("-DCMAKE_CXX_COMPILER=clang++"
|
|
|
|
|
"-DCMAKE_CXX_FLAGS=-stdlib=libc++"
|
|
|
|
|
"-DCMAKE_EXE_LINKER_FLAGS=-lc++abi -lz")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'chdir
|
|
|
|
|
(lambda _ (chdir "lang/c++")))
|
|
|
|
|
(add-after 'set-paths 'adjust-CPLUS_INCLUDE_PATH
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((gcc (assoc-ref inputs "gcc")))
|
|
|
|
|
(setenv "CPLUS_INCLUDE_PATH"
|
|
|
|
|
(string-join
|
2021-07-16 14:01:49 +00:00
|
|
|
|
(cons* (search-input-directory inputs "include/c++/v1")
|
2021-06-14 14:34:35 +00:00
|
|
|
|
;; Hide GCC's C++ headers so that they do not interfere with
|
|
|
|
|
;; the Clang headers.
|
|
|
|
|
(delete (string-append gcc "/include/c++")
|
|
|
|
|
(string-split (getenv "CPLUS_INCLUDE_PATH")
|
|
|
|
|
#\:)))
|
|
|
|
|
":"))
|
|
|
|
|
(format #true
|
|
|
|
|
"environment variable `CPLUS_INCLUDE_PATH' changed to ~a~%"
|
|
|
|
|
(getenv "CPLUS_INCLUDE_PATH"))))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost-for-irods)
|
|
|
|
|
("clang" ,clang-toolchain-6)
|
|
|
|
|
("libcxx+libcxxabi" ,libcxx+libcxxabi-6)
|
|
|
|
|
("libcxxabi" ,libcxxabi-6)
|
|
|
|
|
("snappy" ,snappy-with-clang6)
|
|
|
|
|
("zlib" ,zlib)))))
|
|
|
|
|
|
2015-11-09 13:46:56 +00:00
|
|
|
|
(define-public cereal
|
|
|
|
|
(package
|
|
|
|
|
(name "cereal")
|
2022-08-09 13:48:30 +00:00
|
|
|
|
(version "1.3.2")
|
2019-10-29 12:11:47 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/USCiLab/cereal")
|
2019-10-29 12:11:47 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-06-07 14:19:37 +00:00
|
|
|
|
(base32
|
2022-08-09 13:48:30 +00:00
|
|
|
|
"02sd90ynya7wg013zwzjr79fsv4bzqgfg9l2mapd4j38rv06gahx"))))
|
2015-11-09 13:46:56 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2022-08-09 13:48:30 +00:00
|
|
|
|
(list
|
|
|
|
|
#:configure-flags #~'("-DSKIP_PORTABILITY_TEST=ON"
|
|
|
|
|
;; Don't bother building the sandbox examples.
|
|
|
|
|
"-DSKIP_PERFORMANCE_COMPARISON=ON"
|
|
|
|
|
"-DBUILD_SANDBOX=OFF")
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'install-doc
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((doc (string-append #$output "/share/doc/html")))
|
|
|
|
|
(invoke "make" "doc")
|
|
|
|
|
(mkdir-p doc)
|
|
|
|
|
(copy-recursively "doc/html" doc)))))))
|
2015-11-09 13:46:56 +00:00
|
|
|
|
(native-inputs
|
2023-04-24 16:49:51 +00:00
|
|
|
|
(list doxygen gcc-10))
|
2020-01-19 00:37:07 +00:00
|
|
|
|
(home-page "https://uscilab.github.io/cereal/")
|
2015-11-09 13:46:56 +00:00
|
|
|
|
(synopsis "C++11 library for serialization")
|
|
|
|
|
(description
|
|
|
|
|
"Cereal is a header-only C++11 serialization library. Cereal takes
|
|
|
|
|
arbitrary data types and reversibly turns them into different representations,
|
|
|
|
|
such as compact binary encodings, XML, or JSON.")
|
2022-08-09 22:19:53 +00:00
|
|
|
|
;; Note: Cereal bundles forked versions of rapidxml and rapidjson
|
|
|
|
|
;; (see include/cereal/external/), so list their licenses too.
|
|
|
|
|
(license (list license:bsd-3 ;Cereal itself
|
|
|
|
|
;; The bundled RapidXML is dual Boost/Expat (users choice).
|
|
|
|
|
;; RapidJSON is Expat licensed, and further bundles a
|
|
|
|
|
;; stdint.h with BSD-3.
|
|
|
|
|
license:boost1.0 license:expat
|
|
|
|
|
;; Finally, include/cereal/external/base64.hpp has a
|
|
|
|
|
;; home-grown BSD-like license.
|
|
|
|
|
(license:non-copyleft
|
|
|
|
|
"file://include/cereal/external/LICENSE")))))
|
2016-06-21 13:46:15 +00:00
|
|
|
|
|
2022-08-09 13:48:30 +00:00
|
|
|
|
;; Some packages fail with the latest version. Remove this variable
|
|
|
|
|
;; when unused.
|
|
|
|
|
(define-public cereal-1.3.0
|
|
|
|
|
(package
|
|
|
|
|
(inherit cereal)
|
|
|
|
|
(version "1.3.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/USCiLab/cereal")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name "cereal" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-04-24 16:50:22 +00:00
|
|
|
|
"0hc8wh9dwpc1w1zf5lfss4vg5hmgpblqxbrpp1rggicpx9ar831p"))
|
|
|
|
|
(snippet
|
|
|
|
|
'(delete-file "unittests/doctest.h"))))
|
2022-08-09 13:48:30 +00:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments cereal)
|
|
|
|
|
((#:configure-flags flags #~'())
|
2023-04-24 16:50:22 +00:00
|
|
|
|
#~'("-DSKIP_PORTABILITY_TEST=ON" "-DWITH_WERROR=OFF"))
|
2022-08-09 13:48:30 +00:00
|
|
|
|
((#:phases phases #~%standard-phases)
|
|
|
|
|
#~(modify-phases #$phases
|
2023-04-24 16:50:22 +00:00
|
|
|
|
(add-after 'unpack 'update-doctest
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(install-file (search-input-file inputs "unittests/doctest.h")
|
|
|
|
|
"unittests/")))
|
2022-08-09 13:48:30 +00:00
|
|
|
|
(add-before 'configure 'skip-sandbox
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
2023-04-24 16:50:22 +00:00
|
|
|
|
(("add_subdirectory\\(sandbox\\)") ""))))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list doxygen gcc-10
|
|
|
|
|
(package-source cereal)))))
|
2016-06-21 13:46:15 +00:00
|
|
|
|
|
|
|
|
|
(define-public msgpack
|
|
|
|
|
(package
|
|
|
|
|
(name "msgpack")
|
2021-06-06 06:19:51 +00:00
|
|
|
|
(version "3.3.0")
|
2016-06-21 13:46:15 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append
|
|
|
|
|
"https://github.com/msgpack/msgpack-c/releases/download/"
|
|
|
|
|
"cpp-" version "/msgpack-" version ".tar.gz"))
|
|
|
|
|
(snippet
|
|
|
|
|
'(let ((p (open-file "msgpack.pc.in" "a")))
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 11:47:34 +00:00
|
|
|
|
(display
|
|
|
|
|
(string-append "Requires: " "zlib" "\n") p)
|
|
|
|
|
(close-output-port p)
|
|
|
|
|
#t))
|
2016-06-21 13:46:15 +00:00
|
|
|
|
(sha256
|
2021-06-06 06:19:51 +00:00
|
|
|
|
(base32 "0yzhq50ijvwrfkr97knhvn54lj3f4hr3zy39yq8wpf6xll94s4bf"))))
|
2019-07-15 16:51:17 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2016-06-21 13:46:15 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list googletest-1.8 pkg-config))
|
2016-06-21 13:46:15 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list zlib)) ;; Msgpack installs two headers (zbuffer.h,
|
2016-06-21 13:46:15 +00:00
|
|
|
|
;; zbuffer.hpp) which #include <zlib.h>. However, 'guix gc --references'
|
|
|
|
|
;; does not detect a store reference to zlib since these headers are not
|
|
|
|
|
;; compiled.
|
2018-03-11 19:15:57 +00:00
|
|
|
|
(home-page "https://www.msgpack.org")
|
2016-06-21 13:46:15 +00:00
|
|
|
|
(synopsis "Binary serialization library")
|
|
|
|
|
(description "Msgpack is a library for C/C++ that implements binary
|
|
|
|
|
serialization.")
|
|
|
|
|
(license license:boost1.0)))
|
2016-08-17 10:22:03 +00:00
|
|
|
|
|
2017-01-24 14:40:10 +00:00
|
|
|
|
(define-public libmpack
|
|
|
|
|
(package
|
|
|
|
|
(name "libmpack")
|
2017-05-02 06:40:44 +00:00
|
|
|
|
(version "1.0.5")
|
2019-10-05 22:01:01 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/tarruda/libmpack")
|
2019-10-05 22:01:01 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0rai5djdkjz7bsn025k5489in7r1amagw1pib0z4qns6b52kiar2"))))
|
2017-01-24 14:40:10 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "test"
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list libtool))
|
2017-01-24 14:40:10 +00:00
|
|
|
|
(home-page "https://github.com/tarruda/libmpack")
|
|
|
|
|
(synopsis "Small binary serialization library")
|
|
|
|
|
(description "Libmpack is a small binary serialization and RPC library
|
|
|
|
|
that implements both the msgpack and msgpack-rpc specifications.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2017-01-24 14:40:11 +00:00
|
|
|
|
(define-public lua-libmpack
|
|
|
|
|
(package (inherit libmpack)
|
|
|
|
|
(name "lua-libmpack")
|
2019-07-15 16:45:36 +00:00
|
|
|
|
(version "1.0.8")
|
2019-10-05 22:19:34 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/libmpack/libmpack-lua")
|
2019-10-05 23:26:47 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2019-10-05 22:19:34 +00:00
|
|
|
|
(sha256
|
2019-10-05 23:26:47 +00:00
|
|
|
|
(base32 "1ijvzgq5hvib03w5rghv31wi7byamwg7qdx5pawvhvnflaii8ivw"))))
|
2017-01-24 14:40:11 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(;; FIXME: tests require "busted", which is not yet available in Guix.
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:test-target "test"
|
|
|
|
|
#:make-flags
|
|
|
|
|
(let* ((lua-version ,(package-version lua))
|
|
|
|
|
(lua-major+minor ,(version-major+minor (package-version lua))))
|
|
|
|
|
(list "CC=gcc"
|
2017-05-04 15:06:53 +00:00
|
|
|
|
"FETCH=echo" ; don't fetch anything from the web
|
|
|
|
|
"UNTGZ=echo" ; and don't try to unpack it
|
2017-01-24 14:40:11 +00:00
|
|
|
|
"USE_SYSTEM_LUA=yes"
|
2017-05-04 15:06:53 +00:00
|
|
|
|
(string-append "MPACK_LUA_VERSION=" lua-version)
|
|
|
|
|
(string-append "MPACK_LUA_VERSION_NOPATCH=" lua-major+minor)
|
2017-01-24 14:40:11 +00:00
|
|
|
|
(string-append "PREFIX="
|
|
|
|
|
(assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "LUA_CMOD_INSTALLDIR="
|
|
|
|
|
(assoc-ref %outputs "out")
|
2017-05-04 15:06:53 +00:00
|
|
|
|
"/lib/lua/" lua-major+minor)))
|
2017-01-24 14:40:11 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
2017-05-04 15:06:53 +00:00
|
|
|
|
(add-after 'unpack 'unpack-mpack-sources
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; This is broken because mpack-src is not a file, but all
|
|
|
|
|
;; prerequisites are added to the inputs of the gcc invocation.
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("\\$\\(MPACK\\): mpack-src") "$(MPACK): "))
|
2019-10-05 22:01:01 +00:00
|
|
|
|
(copy-recursively (assoc-ref inputs "libmpack")
|
|
|
|
|
"mpack-src")
|
|
|
|
|
#t)))))
|
2017-01-24 14:40:11 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list lua))
|
2017-01-24 14:40:11 +00:00
|
|
|
|
(native-inputs
|
2017-05-04 15:06:53 +00:00
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("libmpack" ,(package-source libmpack))))
|
|
|
|
|
(home-page "https://github.com/libmpack/libmpack-lua")
|
2017-01-24 14:40:11 +00:00
|
|
|
|
(synopsis "Lua bindings for the libmpack binary serialization library")))
|
|
|
|
|
|
2018-10-24 12:22:14 +00:00
|
|
|
|
(define-public lua5.1-libmpack
|
gnu: Use PACKAGE/INHERIT in more places.
* gnu/packages/algebra.scm (fftwf, fftw-openmpi),
gnu/packages/audio.scm (ztoolkit-rsvg),
gnu/packages/bioinformatics.scm (python2-dendropy),
gnu/packages/boost.scm (boost-with-python2),
gnu/packages/check.scm (python2-mock, python2-pytest-mock),
gnu/packages/cups.scm (hplip-minimal),
gnu/packages/freedesktop.scm (libinput-minimal),
gnu/packages/gettext.scm (gnu-gettext),
gnu/packages/glib.scm (python2-pygobject),
gnu/packages/gnome.scm (gdl-minimal, libsoup-minimal, python2-pyatspi),
gnu/packages/groff.scm (groff-minimal),
gnu/packages/jami.scm (ffmpeg-jami),
gnu/packages/libcanberra.scm (libcanberra/gtk+-2),
gnu/packages/lirc.scm (python2-lirc),
gnu/packages/llvm.scm (clang-runtime-3.5),
gnu/packages/mpi.scm (java-openmpi, openmpi-thread-multiple),
gnu/packages/node.scm (libnode),
gnu/packages/onc-rpc.scm (libtirpc/hurd),
gnu/packages/python-compression.scm (bitshuffle-for-snappy),
gnu/packages/python-crypto.scm (python2-pycrypto, python2-cryptography)
(python2-cryptography, python2-m2crypto),
gnu/packages/python-web.scm (python2-html2text, python2-tornado)
(python2-terminado, python2-ndg-httpsclient, python2-websocket-client)
(python2-rauth, python2-url, python2-s3transfer),
gnu/packages/python-xyz.scm (python2-psutil, python2-serpent)
(python2-humanfriendly, python2-empy, python2-parse-type, python2-polib)
(python2-jsonschema, python2-pystache, python2-cython, python2-numpydoc)
(python2-ipyparallel, python2-traitlets, python2-dbus)
(python2-beautifulsoup4, python2-pep517, python2-flake8, python2-llfuse)
(python2-tlsh, python-file, python2-notebook, python-jupyter-console-minimal)
(python2-contextlib2, python2-promise, python2-anyjson, python2-amqp)
(python2-kombu, python2-billiard, python2-celery, python2-whoosh)
(python2-jellyfish, python-rope, ptpython-2, python2-binaryornot)
(python2-setproctitle, python2-argcomplete, python2-xopen, python2-isort)
(python2-radon, python2-rfc6555, python2-activepapers, python2-send2trash)
(python2-cloudpickle, python2-reparser),
gnu/packages/python.scm (python2-called-python),
gnu/packages/qt.scm (python2-sip, python-pyqt-without-qtwebkit, python2-pyqt)
(python-qscintilla, python-pyqt+qscintilla),
gnu/packages/scanner.scm (sane-backends),
gnu/packages/sdl.scm (guile3.0-sdl2),
gnu/packages/selinux.scm (checkpolicy, libselinux, libsemanage, secilc)
(python-sepolgen, policycoreutils),
gnu/packages/serialization.scm (lua5.1-libmpack, lua5.2-libmpack),
gnu/packages/simulation.scm (fenics),
gnu/packages/statistics.scm (python2-statsmodels),
gnu/packages/texinfo.scm (info-reader),
gnu/packages/wxwidgets.scm (wxwidgets-gtk2, wxwidgets-gtk2-3.1),
gnu/packages/xml.scm (xmlsec-nss),
gnu/packages/xorg.scm (uim-gtk, uim-qt),
guix/build-system/python.scm (package-with-explicit-python)
(strip-python2-variant): Use PACKAGE/INHERIT.
2021-03-17 07:42:12 +00:00
|
|
|
|
(package/inherit lua-libmpack
|
2018-10-24 12:22:14 +00:00
|
|
|
|
(name "lua5.1-libmpack")
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments lua-libmpack)
|
|
|
|
|
((#:make-flags flags)
|
|
|
|
|
`(let* ((lua-version ,(package-version lua-5.1))
|
|
|
|
|
(lua-major+minor ,(version-major+minor (package-version lua-5.1))))
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
"USE_SYSTEM_LUA=yes"
|
|
|
|
|
(string-append "MPACK_LUA_VERSION=" lua-version)
|
|
|
|
|
(string-append "MPACK_LUA_VERSION_NOPATCH=" lua-major+minor)
|
|
|
|
|
(string-append "PREFIX="
|
|
|
|
|
(assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "LUA_CMOD_INSTALLDIR="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib/lua/" lua-major+minor))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("lua" ,lua-5.1)))))
|
|
|
|
|
|
2017-01-24 14:40:12 +00:00
|
|
|
|
(define-public lua5.2-libmpack
|
gnu: Use PACKAGE/INHERIT in more places.
* gnu/packages/algebra.scm (fftwf, fftw-openmpi),
gnu/packages/audio.scm (ztoolkit-rsvg),
gnu/packages/bioinformatics.scm (python2-dendropy),
gnu/packages/boost.scm (boost-with-python2),
gnu/packages/check.scm (python2-mock, python2-pytest-mock),
gnu/packages/cups.scm (hplip-minimal),
gnu/packages/freedesktop.scm (libinput-minimal),
gnu/packages/gettext.scm (gnu-gettext),
gnu/packages/glib.scm (python2-pygobject),
gnu/packages/gnome.scm (gdl-minimal, libsoup-minimal, python2-pyatspi),
gnu/packages/groff.scm (groff-minimal),
gnu/packages/jami.scm (ffmpeg-jami),
gnu/packages/libcanberra.scm (libcanberra/gtk+-2),
gnu/packages/lirc.scm (python2-lirc),
gnu/packages/llvm.scm (clang-runtime-3.5),
gnu/packages/mpi.scm (java-openmpi, openmpi-thread-multiple),
gnu/packages/node.scm (libnode),
gnu/packages/onc-rpc.scm (libtirpc/hurd),
gnu/packages/python-compression.scm (bitshuffle-for-snappy),
gnu/packages/python-crypto.scm (python2-pycrypto, python2-cryptography)
(python2-cryptography, python2-m2crypto),
gnu/packages/python-web.scm (python2-html2text, python2-tornado)
(python2-terminado, python2-ndg-httpsclient, python2-websocket-client)
(python2-rauth, python2-url, python2-s3transfer),
gnu/packages/python-xyz.scm (python2-psutil, python2-serpent)
(python2-humanfriendly, python2-empy, python2-parse-type, python2-polib)
(python2-jsonschema, python2-pystache, python2-cython, python2-numpydoc)
(python2-ipyparallel, python2-traitlets, python2-dbus)
(python2-beautifulsoup4, python2-pep517, python2-flake8, python2-llfuse)
(python2-tlsh, python-file, python2-notebook, python-jupyter-console-minimal)
(python2-contextlib2, python2-promise, python2-anyjson, python2-amqp)
(python2-kombu, python2-billiard, python2-celery, python2-whoosh)
(python2-jellyfish, python-rope, ptpython-2, python2-binaryornot)
(python2-setproctitle, python2-argcomplete, python2-xopen, python2-isort)
(python2-radon, python2-rfc6555, python2-activepapers, python2-send2trash)
(python2-cloudpickle, python2-reparser),
gnu/packages/python.scm (python2-called-python),
gnu/packages/qt.scm (python2-sip, python-pyqt-without-qtwebkit, python2-pyqt)
(python-qscintilla, python-pyqt+qscintilla),
gnu/packages/scanner.scm (sane-backends),
gnu/packages/sdl.scm (guile3.0-sdl2),
gnu/packages/selinux.scm (checkpolicy, libselinux, libsemanage, secilc)
(python-sepolgen, policycoreutils),
gnu/packages/serialization.scm (lua5.1-libmpack, lua5.2-libmpack),
gnu/packages/simulation.scm (fenics),
gnu/packages/statistics.scm (python2-statsmodels),
gnu/packages/texinfo.scm (info-reader),
gnu/packages/wxwidgets.scm (wxwidgets-gtk2, wxwidgets-gtk2-3.1),
gnu/packages/xml.scm (xmlsec-nss),
gnu/packages/xorg.scm (uim-gtk, uim-qt),
guix/build-system/python.scm (package-with-explicit-python)
(strip-python2-variant): Use PACKAGE/INHERIT.
2021-03-17 07:42:12 +00:00
|
|
|
|
(package/inherit lua-libmpack
|
2017-01-24 14:40:12 +00:00
|
|
|
|
(name "lua5.2-libmpack")
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments lua-libmpack)
|
|
|
|
|
((#:make-flags flags)
|
|
|
|
|
`(let* ((lua-version ,(package-version lua-5.2))
|
|
|
|
|
(lua-major+minor ,(version-major+minor (package-version lua-5.2))))
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
"USE_SYSTEM_LUA=yes"
|
2017-05-04 15:09:16 +00:00
|
|
|
|
(string-append "MPACK_LUA_VERSION=" lua-version)
|
|
|
|
|
(string-append "MPACK_LUA_VERSION_NOPATCH=" lua-major+minor)
|
2017-01-24 14:40:12 +00:00
|
|
|
|
(string-append "PREFIX="
|
|
|
|
|
(assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "LUA_CMOD_INSTALLDIR="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib/lua/" lua-major+minor))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("lua" ,lua-5.2)))))
|
|
|
|
|
|
2021-07-29 19:34:46 +00:00
|
|
|
|
(define-public libyaml
|
|
|
|
|
(package
|
|
|
|
|
(name "libyaml")
|
|
|
|
|
(version "0.2.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://pyyaml.org/download/libyaml/yaml-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1x4fcw13r3lqy8ndydr3ili87wicplw2awbcv6r21qgyfndswhn6"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("--disable-static")))
|
|
|
|
|
(home-page "https://pyyaml.org/wiki/LibYAML")
|
|
|
|
|
(synopsis "YAML 1.1 parser and emitter written in C")
|
|
|
|
|
(description
|
|
|
|
|
"LibYAML is a YAML 1.1 parser and emitter written in C.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
|
|
(define-public libyaml+static
|
|
|
|
|
(package
|
|
|
|
|
(inherit libyaml)
|
|
|
|
|
(name "libyaml+static")
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("--enable-static")))))
|
|
|
|
|
|
|
|
|
|
(define-public libcyaml
|
|
|
|
|
(package
|
|
|
|
|
(name "libcyaml")
|
2022-05-29 00:00:03 +00:00
|
|
|
|
(version "1.3.1")
|
2021-07-29 19:34:46 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/tlsa/libcyaml")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(patches (search-patches "libcyaml-libyaml-compat.patch"))
|
|
|
|
|
(sha256
|
2022-05-29 00:00:03 +00:00
|
|
|
|
(base32 "0gvf3h8r8300wdwfjgxw3nzlj7w14q63m67p8wdm5fvpha017n4y"))))
|
2021-07-29 19:34:46 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2022-05-29 00:00:00 +00:00
|
|
|
|
`(#:test-target "test"
|
|
|
|
|
#:make-flags
|
2021-07-29 19:34:46 +00:00
|
|
|
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
2022-05-29 00:00:00 +00:00
|
|
|
|
(string-append "CC=" ,(cc-for-target)))
|
2021-07-29 19:34:46 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2022-05-29 00:00:00 +00:00
|
|
|
|
(delete 'configure)))) ; no configure script
|
2021-07-29 19:34:46 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list libyaml))
|
2021-07-29 19:34:46 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config))
|
2021-07-29 19:34:46 +00:00
|
|
|
|
(synopsis "C library for reading and writing YAML")
|
|
|
|
|
(description
|
|
|
|
|
"LibCYAML is a C library written in ISO C11 for reading and writing
|
|
|
|
|
structured YAML documents. The fundamental idea behind CYAML is to allow
|
|
|
|
|
applications to construct schemas which describe both the permissible
|
|
|
|
|
structure of the YAML documents to read/write, and the C data structure(s)
|
|
|
|
|
in which the loaded data is arranged in memory.")
|
|
|
|
|
(home-page "https://github.com/tlsa/libcyaml")
|
|
|
|
|
(license license:isc)))
|
|
|
|
|
|
2023-04-15 06:13:31 +00:00
|
|
|
|
(define-public libfyaml
|
|
|
|
|
(package
|
|
|
|
|
(name "libfyaml")
|
|
|
|
|
(version "0.8")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/pantoniou/libfyaml")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "002g0grddfi5y42lq06zj8266rf7h27wq76sr598ad5pxllx3y3g"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list autoconf
|
|
|
|
|
automake
|
|
|
|
|
libtool
|
|
|
|
|
pkg-config))
|
|
|
|
|
(home-page "https://github.com/pantoniou/libfyaml")
|
|
|
|
|
(synopsis "YAML version 1.2 and JSON parser and writer")
|
|
|
|
|
(description "Libfyaml is a YAML parser and emitter, supporting the latest
|
|
|
|
|
YAML spec and passing the full YAML testsuite. It is designed to be very
|
|
|
|
|
efficient, avoiding copies of data, and has no artificial limits like the 1024
|
|
|
|
|
character limit for implicit keys.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2016-08-17 10:22:03 +00:00
|
|
|
|
(define-public yaml-cpp
|
|
|
|
|
(package
|
|
|
|
|
(name "yaml-cpp")
|
2019-11-03 17:16:28 +00:00
|
|
|
|
(version "0.6.3")
|
2019-11-03 17:22:48 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/jbeder/yaml-cpp")
|
2019-11-03 17:22:48 +00:00
|
|
|
|
(commit (string-append "yaml-cpp-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0ykkxzxcwwiv8l8r697gyqh1nl582krpvi7m7l6b40ijnk4pw30s"))))
|
2016-08-17 10:22:03 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2017-08-22 15:09:47 +00:00
|
|
|
|
(arguments
|
2019-11-03 17:16:28 +00:00
|
|
|
|
'(#:configure-flags '("-DYAML_BUILD_SHARED_LIBS=ON")))
|
2016-08-17 10:22:03 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python))
|
2016-08-17 10:22:03 +00:00
|
|
|
|
(home-page "https://github.com/jbeder/yaml-cpp")
|
|
|
|
|
(synopsis "YAML parser and emitter in C++")
|
|
|
|
|
(description "YAML parser and emitter in C++ matching the YAML 1.2 spec.")
|
|
|
|
|
(license license:bsd-3)))
|
2016-08-17 10:22:35 +00:00
|
|
|
|
|
|
|
|
|
(define-public jsoncpp
|
|
|
|
|
(package
|
|
|
|
|
(name "jsoncpp")
|
2022-06-26 09:27:41 +00:00
|
|
|
|
(version "1.9.5")
|
2019-07-06 16:48:56 +00:00
|
|
|
|
(home-page "https://github.com/open-source-parsers/jsoncpp")
|
2016-08-17 10:22:35 +00:00
|
|
|
|
(source (origin
|
2019-07-06 16:48:56 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference (url home-page) (commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-08-17 10:22:35 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-06-26 09:27:41 +00:00
|
|
|
|
"06zss7z56ykzwcsfdxarmini63hkf8i8gx70q3yw9wb0bw7wj9rv"))))
|
2022-06-27 19:19:22 +00:00
|
|
|
|
(build-system meson-build-system)
|
2016-08-17 10:22:35 +00:00
|
|
|
|
(synopsis "C++ library for interacting with JSON")
|
|
|
|
|
(description "JsonCpp is a C++ library that allows manipulating JSON values,
|
|
|
|
|
including serialization and deserialization to and from strings. It can also
|
|
|
|
|
preserve existing comment in unserialization/serialization steps, making
|
|
|
|
|
it a convenient format to store user input files.")
|
|
|
|
|
(license license:expat)))
|
2016-08-12 12:42:16 +00:00
|
|
|
|
|
2019-04-07 07:53:50 +00:00
|
|
|
|
;; Tensorflow does not build with jsoncpp 1.8.x. It is built with commit
|
|
|
|
|
;; 4356d9bba191e1e16ce7a92073cbf3e63564e973, which lies between version 1.7.2
|
|
|
|
|
;; and 1.7.3.
|
|
|
|
|
(define-public jsoncpp-for-tensorflow
|
|
|
|
|
(package (inherit jsoncpp)
|
|
|
|
|
(name "jsoncpp")
|
|
|
|
|
(version "1.7.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/open-source-parsers/jsoncpp")
|
2019-04-07 07:53:50 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-06-30 20:30:06 +00:00
|
|
|
|
"1180ln8blrb0mwzpcf78k49hlki6di65q77rsvglf83kfcyh4d7z"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:configure-flags
|
|
|
|
|
#~'("-DBUILD_SHARED_LIBS:BOOL=YES"
|
|
|
|
|
#$@(if (%current-target-system)
|
|
|
|
|
#~("-DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF")
|
|
|
|
|
#~()))))))
|
2019-04-07 07:53:50 +00:00
|
|
|
|
|
2021-09-26 23:35:12 +00:00
|
|
|
|
(define-public json.sh
|
|
|
|
|
(let ((commit "0d5e5c77365f63809bf6e77ef44a1f34b0e05840") ;no releases
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "json.sh")
|
|
|
|
|
(version (git-version "0.0.0" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/dominictarr/JSON.sh")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"14lxvp5xbdk0dcwkjbdp098z1108j8z48zaibndh4i731kkcz43i"))))
|
|
|
|
|
(build-system copy-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:install-plan '(("JSON.sh" "bin/"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'install 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests? (invoke "./all-tests.sh"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'wrap-program
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(wrap-program (string-append (assoc-ref outputs "out") "/bin/JSON.sh")
|
|
|
|
|
`("PATH" ":" prefix
|
|
|
|
|
(,(string-join
|
|
|
|
|
(map (lambda (in) (string-append (assoc-ref inputs in) "/bin"))
|
|
|
|
|
'("grep" "sed"))
|
|
|
|
|
":"))))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list bash-minimal grep sed))
|
2021-09-26 23:35:12 +00:00
|
|
|
|
(synopsis "Pipeable JSON parser written in shell")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a JSON parser written in shell, compatible with
|
|
|
|
|
ash, Bash, Dash and Zsh. Pipe JSON to it, and it traverses the JSON objects
|
|
|
|
|
and prints out the path to the current object (as a JSON array) and then the
|
|
|
|
|
object, without whitespace.")
|
|
|
|
|
(home-page "https://github.com/dominictarr/JSON.sh")
|
|
|
|
|
(license (list license:expat license:asl2.0))))) ;dual-licensed
|
|
|
|
|
|
2016-08-12 12:42:16 +00:00
|
|
|
|
(define-public capnproto
|
|
|
|
|
(package
|
|
|
|
|
(name "capnproto")
|
2020-05-11 14:54:16 +00:00
|
|
|
|
(version "0.8.0")
|
2016-08-12 12:42:16 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://capnproto.org/capnproto-c++-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-11 14:54:16 +00:00
|
|
|
|
"03f1862ljdshg7d0rg3j7jzgm3ip55kzd2y91q7p0racax3hxx6i"))))
|
2016-08-12 12:42:16 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'do-not-require-/etc/services
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Workaround for test that tries to resolve port name from
|
|
|
|
|
;; /etc/services, which is not present in build environment.
|
|
|
|
|
(substitute* "src/kj/async-io-test.c++" ((":http") ":80"))
|
2018-11-07 19:41:46 +00:00
|
|
|
|
#t))
|
2021-06-21 12:34:55 +00:00
|
|
|
|
(add-before 'check 'use-tmp-for-temporary-files
|
2018-11-07 19:41:46 +00:00
|
|
|
|
(lambda _
|
2021-06-21 12:34:55 +00:00
|
|
|
|
;; Use /tmp for temporary files, as the default /var/tmp directory
|
2018-11-07 19:41:46 +00:00
|
|
|
|
;; doesn't exist.
|
|
|
|
|
(substitute* "src/kj/filesystem-disk-test.c++"
|
|
|
|
|
(("VAR\\_TMP \"/var/tmp\"")
|
|
|
|
|
"VAR_TMP \"/tmp\""))
|
2016-08-12 12:42:16 +00:00
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://capnproto.org")
|
|
|
|
|
(synopsis "Capability-based RPC and serialization system")
|
|
|
|
|
(description
|
|
|
|
|
"Cap'n Proto is a very fast data interchange format and capability-based
|
|
|
|
|
RPC system. Think JSON, except binary. Or think Protocol Buffers, except faster.")
|
|
|
|
|
(license license:expat)))
|
2017-04-21 12:05:30 +00:00
|
|
|
|
|
2017-07-14 13:22:49 +00:00
|
|
|
|
(define-public python-ruamel.yaml
|
|
|
|
|
(package
|
|
|
|
|
(name "python-ruamel.yaml")
|
2021-08-09 09:03:14 +00:00
|
|
|
|
(version "0.16.13")
|
2017-07-14 13:22:49 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "ruamel.yaml" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-08-09 09:03:14 +00:00
|
|
|
|
"0hm9yg785f46bkrgqknd6fdvmkby9dpzjnm0b63qf0i748acaj5v"))))
|
2017-07-14 13:22:49 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-pytest))
|
2021-08-09 09:03:14 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-ruamel.yaml.clib))
|
2017-07-14 13:22:49 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(;; TODO: Tests require packaging "ruamel.std.pathlib".
|
|
|
|
|
#:tests? #f))
|
2021-08-09 09:03:14 +00:00
|
|
|
|
(home-page "https://sourceforge.net/projects/ruamel-yaml/")
|
2017-07-14 13:22:49 +00:00
|
|
|
|
(synopsis "YAML 1.2 parser/emitter")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides YAML parser/emitter that supports roundtrip
|
|
|
|
|
preservation of comments, seq/map flow style, and map key order. It
|
|
|
|
|
is a derivative of Kirill Simonov’s PyYAML 3.11. It supports YAML 1.2
|
|
|
|
|
and has round-trip loaders and dumpers. It supports comments. Block
|
|
|
|
|
style and key ordering are kept, so you can diff the source.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2021-08-09 09:02:24 +00:00
|
|
|
|
(define-public python-ruamel.yaml.clib
|
|
|
|
|
(package
|
|
|
|
|
(name "python-ruamel.yaml.clib")
|
|
|
|
|
(version "0.2.6")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
;; pypi release code has cythonized code without corresponding source.
|
|
|
|
|
(method hg-fetch)
|
|
|
|
|
(uri (hg-reference
|
|
|
|
|
(url "http://hg.code.sf.net/p/ruamel-yaml-clib/code")
|
|
|
|
|
(changeset version)))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"05m3y7pjfbaarqbbgw1k6gs6cnnmxnwadjipxvw1aaaqk3s236cs"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(delete-file "_ruamel_yaml.c")))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; This package is split from python-ruamel.yaml and
|
|
|
|
|
; depends on modules from it for the test suite.
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'sanity-check) ; Depends on python-ruamel.yaml
|
|
|
|
|
(add-after 'unpack 'cythonize-code
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "cython" "_ruamel_yaml.pyx"))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-cython))
|
2021-08-09 09:02:24 +00:00
|
|
|
|
(home-page "https://sourceforge.net/p/ruamel-yaml-clib/code/ci/default/tree")
|
|
|
|
|
(synopsis "C version of reader, parser and emitter for ruamel.yaml")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a C version of the reader, parser and emitter for
|
|
|
|
|
@code{ruamel.yaml} derived from libyaml.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2017-10-11 09:47:15 +00:00
|
|
|
|
(define-public python-cbor
|
|
|
|
|
(package
|
|
|
|
|
(name "python-cbor")
|
|
|
|
|
(version "1.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "cbor" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1dmv163cnslyqccrybkxn0c9s1jk1mmafmgxv75iamnz5lk5l8hk"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(home-page "https://bitbucket.org/bodhisnarkva/cbor")
|
|
|
|
|
(synopsis "Implementation of the Concise Binary Object Representation")
|
|
|
|
|
(description
|
|
|
|
|
"Python-cbor provides an implementation of the Concise Binary Object
|
2017-12-24 02:04:25 +00:00
|
|
|
|
Representation (@dfn{CBOR}). CBOR is comparable to JSON, has a superset of
|
|
|
|
|
JSON's ability, but serializes to a binary format which is smaller and faster
|
|
|
|
|
to generate and parse. The two primary functions are @code{cbor.loads} and
|
2017-10-11 09:47:15 +00:00
|
|
|
|
@code{cbor.dumps}.")
|
|
|
|
|
(license license:asl2.0)))
|
2018-02-17 20:44:04 +00:00
|
|
|
|
|
|
|
|
|
(define-public flatbuffers
|
|
|
|
|
(package
|
|
|
|
|
(name "flatbuffers")
|
2021-08-04 08:56:00 +00:00
|
|
|
|
(version "2.0.0")
|
2018-02-17 20:44:04 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2021-08-04 08:56:00 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/google/flatbuffers")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-17 20:44:04 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-08-04 08:56:00 +00:00
|
|
|
|
"1zbf6bdpps8369r1ql00irxrp58jnalycc8jcapb8iqg654vlfz8"))))
|
2018-02-17 20:44:04 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2018-03-17 11:23:59 +00:00
|
|
|
|
'(#:build-type "Release"
|
|
|
|
|
#:configure-flags
|
2021-08-04 08:56:00 +00:00
|
|
|
|
(list "-DFLATBUFFERS_BUILD_SHAREDLIB=ON"
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_LIBDIR="
|
|
|
|
|
(assoc-ref %outputs "out") "/lib"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'make-writable
|
|
|
|
|
(lambda _ (for-each make-file-writable (find-files ".")))))))
|
2018-02-17 20:44:04 +00:00
|
|
|
|
(home-page "https://google.github.io/flatbuffers/")
|
|
|
|
|
(synopsis "Memory-efficient serialization library")
|
2018-10-26 14:11:21 +00:00
|
|
|
|
(description "FlatBuffers is a cross-platform serialization library for C++,
|
2018-02-17 20:44:04 +00:00
|
|
|
|
C#, C, Go, Java, JavaScript, PHP, and Python. It was originally created for
|
|
|
|
|
game development and other performance-critical applications.")
|
|
|
|
|
(license license:asl2.0)))
|
2018-02-17 22:29:53 +00:00
|
|
|
|
|
2023-03-02 08:09:55 +00:00
|
|
|
|
(define-public flatbuffers-next
|
|
|
|
|
(package
|
|
|
|
|
(inherit flatbuffers)
|
|
|
|
|
(version "23.1.21")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/google/flatbuffers")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name "flatbuffers" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1z3a6l8g2y53i5xzraswfs2i0i3kk52zv7nzc2q3fgisbyiri3pz"))))))
|
|
|
|
|
|
2018-02-21 17:25:17 +00:00
|
|
|
|
(define-public python-feather-format
|
|
|
|
|
(package
|
|
|
|
|
(name "python-feather-format")
|
2020-06-02 21:33:36 +00:00
|
|
|
|
(version "0.4.1")
|
2018-02-21 17:25:17 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "feather-format" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-02 21:33:36 +00:00
|
|
|
|
"00w9hwz7sj3fkdjc378r066vdy6lpxmn6vfac3qx956k8lvpxxj5"))))
|
2018-02-21 17:25:17 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-pandas python-pyarrow))
|
2018-02-21 17:25:17 +00:00
|
|
|
|
(home-page "https://github.com/wesm/feather")
|
|
|
|
|
(synopsis "Python wrapper to the Feather file format")
|
|
|
|
|
(description "This package provides a Python wrapper library to the
|
|
|
|
|
Apache Arrow-based Feather binary columnar serialization data frame format.")
|
|
|
|
|
(license license:asl2.0)))
|