diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2020-06-23 17:12:46 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-06-23 23:15:54 +0200 |
commit | 5db8ba1f49f207b2f6c537126f58fbc169d5a8a4 (patch) | |
tree | be801b8da354d15e33ec925c70fa19b5c3f4204b | |
parent | 4be49afabd71b8508b46ebc702fdfa956261955d (diff) | |
download | guix-5db8ba1f49f207b2f6c537126f58fbc169d5a8a4.tar.gz guix-5db8ba1f49f207b2f6c537126f58fbc169d5a8a4.zip |
gnu: Add python-msgpack-numpy.
* gnu/packages/python-science.scm (python-msgpack-numpy): New variable.
-rw-r--r-- | gnu/packages/python-science.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 8a15a2820b..3d6d4e909e 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -389,3 +389,28 @@ concise, and less error-prone developer experience. The package includes a large and growing library of domain-agnostic functions for advanced analytics and visualization with these data structures.") (license license:asl2.0))) + +(define-public python-msgpack-numpy + (package + (name "python-msgpack-numpy") + (version "0.4.6.post0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "msgpack-numpy" version)) + (sha256 + (base32 + "0syzy645mwcy7lfjwz6pc8f9p2vv1qk4limc8iina3l5nnf0rjyz")))) + (build-system python-build-system) + (propagated-inputs + `(("python-msgpack" ,python-msgpack) + ("python-numpy" ,python-numpy))) + (home-page "https://github.com/lebedov/msgpack-numpy") + (synopsis + "Numpy data serialization using msgpack") + (description + "This package provides encoding and decoding routines that enable the +serialization and deserialization of numerical and array data types provided +by numpy using the highly efficient @code{msgpack} format. Serialization of +Python's native complex data types is also supported.") + (license license:bsd-3))) |