* gnu/packages/python.scm (python-msgpack, python2-msgpack): New variables. --- gnu/packages/python.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 940efec..3c6b2f5 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2015 Ricardo Wurmus <rek...@elephly.net> ;;; Copyright © 2015 Christopher Allan Webber <cweb...@dustycloud.org> ;;; Copyright © 2015 Eric Dvorsak <e...@dvorsak.fr> +;;; Copyright © 2015 Leo Famulari <l...@famulari.name> ;;; ;;; This file is part of GNU Guix. ;;; @@ -4629,3 +4630,27 @@ term.js Javascript terminal emulator library.") ,python2-backport-ssl-match-hostname) ,@(alist-delete "python-tornado" (package-propagated-inputs terminado))))))) + +(define-public python-msgpack + (package + (name "python-msgpack") + (version "0.4.6") + (source (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/m/msgpack-python/" + "msgpack-python-" version ".tar.gz")) + (sha256 + (base32 "1527c76b6fn4zzkgfq5xvhh7x9a9686g7fjiz717rw5vklf5ik5z")))) + (build-system python-build-system) + (native-inputs + `(("python-setuptools" ,python-setuptools))) + (synopsis "MessagePack (de)serializer") + (description "MessagePack is a fast, compact binary serialization format, +suitable for similar data to JSON. This package provides CPython bindings for +reading and writing MessagePack data.") + (home-page "https://pypi.python.org/pypi/msgpack-python/") + (license asl2.0))) + +(define-public python2-msgpack + (package-with-python2 python-msgpack)) -- 2.4.3