gnu: Add python-msgpack-numpy.

* gnu/packages/python-science.scm (python-msgpack-numpy): New variable.
This commit is contained in:
Ricardo Wurmus 2020-06-23 17:12:46 +02:00
parent 4be49afabd
commit 5db8ba1f49
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -389,3 +389,28 @@ (define-public python-xarray
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)))