;;; Copyright © 2015, 2017, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
;;; Copyright © 2016 David Craven <david@craven.ch>
-;;; Copyright © 2016, 2019 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2016, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2016, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Corentin Bocquillon <corentin@nybble.fr>
;;; Copyright © 2017 Gregor Giesen <giesen@zaehlwerk.net>
;;; Copyright © 2017 Frederick M. Muriithi <fredmanglis@gmail.com>
-;;; Copyright © 2017 ng0 <ng0@n0.is>
+;;; Copyright © 2017 Nikita <nikita@n0.is>
;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
;;;
#:use-module (gnu packages boost)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
+ #:use-module (gnu packages cmake)
+ #:use-module (gnu packages cpp)
#:use-module (gnu packages databases)
#:use-module (gnu packages documentation)
#:use-module (gnu packages gcc)
#:use-module (gnu packages lua)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-science)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages perl))
+(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
+ `(("boost" ,boost)
+ ("snappy" ,snappy)))
+ (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)))
+
(define-public cereal
(package
(name "cereal")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/USCiLab/cereal.git")
+ (url "https://github.com/USCiLab/cereal")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
#t)))))
(native-inputs
`(("doxygen" ,doxygen)))
- (home-page "http://uscilab.github.io/cereal/")
+ (home-page "https://uscilab.github.io/cereal/")
(synopsis "C++11 library for serialization")
(description
"Cereal is a header-only C++11 serialization library. Cereal takes
(define-public msgpack
(package
(name "msgpack")
- (version "3.2.0")
+ (version "3.2.1")
(source
(origin
(method url-fetch)
(close-output-port p)
#t))
(sha256
- (base32
- "1zhsap7d9zqdm9h1qnpaw78v1sh3rx2if7gk4dszs5m3cg1jiapv"))))
+ (base32 "1ljqmgscdb0f8w8kx2lnswnisyxchcmijbjbmswkv0g187bvqg23"))))
(build-system cmake-build-system)
(native-inputs
- `(("googletest" ,googletest)
+ `(("googletest" ,googletest-1.8)
("pkg-config" ,pkg-config)))
(propagated-inputs
`(("zlib" ,zlib))) ;; Msgpack installs two headers (zbuffer.h,
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/tarruda/libmpack.git")
+ (url "https://github.com/tarruda/libmpack")
(commit version)))
(file-name (git-file-name name version))
(sha256
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/libmpack/libmpack-lua.git")
+ (url "https://github.com/libmpack/libmpack-lua")
(commit version)))
(file-name (git-file-name name version))
(sha256
(synopsis "Lua bindings for the libmpack binary serialization library")))
(define-public lua5.1-libmpack
- (package (inherit lua-libmpack)
+ (package/inherit lua-libmpack
(name "lua5.1-libmpack")
(arguments
(substitute-keyword-arguments (package-arguments lua-libmpack)
`(("lua" ,lua-5.1)))))
(define-public lua5.2-libmpack
- (package (inherit lua-libmpack)
+ (package/inherit lua-libmpack
(name "lua5.2-libmpack")
(arguments
(substitute-keyword-arguments (package-arguments lua-libmpack)
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/jbeder/yaml-cpp.git")
+ (url "https://github.com/jbeder/yaml-cpp")
(commit (string-append "yaml-cpp-" version))))
(file-name (git-file-name name version))
(sha256
(define-public jsoncpp
(package
(name "jsoncpp")
- (version "1.9.1")
+ (version "1.9.2")
(home-page "https://github.com/open-source-parsers/jsoncpp")
(source (origin
(method git-fetch)
(uri (git-reference (url home-page) (commit version)))
(file-name (git-file-name name version))
+ (patches (search-patches "jsoncpp-fix-inverted-case.patch"))
(sha256
(base32
- "00g356iv3kcp0gadj7gbyzf9jn9avvx9vxbxc7c2i5nnry8z72wj"))))
+ "037d1b1qdmn3rksmn1j71j26bv4hkjv7sn7da261k853xb5899sg"))))
(build-system cmake-build-system)
(arguments
- `(#:configure-flags '("-DBUILD_SHARED_LIBS:BOOL=YES")))
+ `(#:configure-flags '("-DBUILD_SHARED_LIBS:BOOL=YES"
+ ,@(if (%current-target-system)
+ `("-DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF")
+ '()))
+ ,@(if (%current-target-system)
+ '()
+ `(#:cmake ,cmake-bootstrap))))
(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
(source (origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/open-source-parsers/jsoncpp.git")
+ (url "https://github.com/open-source-parsers/jsoncpp")
(commit version)))
(file-name (git-file-name name version))
(sha256
(define-public capnproto
(package
(name "capnproto")
- (version "0.7.0")
+ (version "0.8.0")
(source (origin
(method url-fetch)
(uri (string-append
version ".tar.gz"))
(sha256
(base32
- "0hfdnhlbskagzgvby8wy6lrxj53zfzpfqimbhga68c0ji2yw1969"))))
+ "03f1862ljdshg7d0rg3j7jzgm3ip55kzd2y91q7p0racax3hxx6i"))))
(build-system gnu-build-system)
(arguments
`(#:phases
it is comparable to protobuf.")
(license license:asl2.0)))
-(define-public nlohmann-json-cpp
- (package
- (name "nlohmann-json-cpp")
- (version "3.7.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/nlohmann/json.git")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0v7xih4zjixxxfvkfbs7a8j9qcvpwlsv4vrkbyns3hc7b44nb8ap"))))
- (build-system cmake-build-system)
- (native-inputs
- ;; Integer overflow tests like those from
- ;; <https://github.com/nlohmann/json/issues/1447> fail when building with
- ;; gcc@5. Thus, build with a newer GCC.
- `(("gcc" ,gcc-9)))
- (arguments
- '(#:phases (modify-phases %standard-phases
- (add-before 'build 'unset-path-variables
- (lambda _
- (unsetenv "C_INCLUDE_PATH")
- (unsetenv "CPLUS_INCLUDE_PATH")
- #t)))))
- (home-page "https://nlohmann.github.io/json/")
- (synopsis "JSON library for C++")
- (description
- "JSON library for C++ trying to accomplish “Intuitive syntax”,
-“Trivial integration”, and “Serious testing”.
-However, “Memory efficiency” and “Speed” have not been primary goals.")
- (license license:expat)))
-
(define-public python-ruamel.yaml
(package
(name "python-ruamel.yaml")
(define-public python-feather-format
(package
(name "python-feather-format")
- (version "0.4.0")
+ (version "0.4.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "feather-format" version))
(sha256
(base32
- "1adivm5w5ji4qv7hq7942vqlk8l2wgw87bdlsia771z14z3zp857"))))
+ "00w9hwz7sj3fkdjc378r066vdy6lpxmn6vfac3qx956k8lvpxxj5"))))
(build-system python-build-system)
(propagated-inputs
`(("python-pandas" ,python-pandas)