diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2017-08-05 12:09:56 +1000 |
---|---|---|
committer | Ben Woodcroft <donttrustben@gmail.com> | 2017-09-17 11:00:56 +1000 |
commit | 04fb4516f4b619cf663dead171a14110e72d13e1 (patch) | |
tree | 1bfbee1aaa5ac5db78965ddf823c71c9586ee3b4 /gnu | |
parent | 4db733e77d81cc7dee1a2939446290ba29a6a66e (diff) | |
download | guix-04fb4516f4b619cf663dead171a14110e72d13e1.tar guix-04fb4516f4b619cf663dead171a14110e72d13e1.tar.gz |
gnu: Add python-backpack.
* gnu/packages/python.scm (python-backpack): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python.scm | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 5927db0d66..3e2cd209c2 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -12,7 +12,7 @@ ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr> ;;; Copyright © 2015, 2016 David Thompson <davet@gnu.org> ;;; Copyright © 2015, 2016, 2017 Leo Famulari <leo@famulari.name> -;;; Copyright © 2015 Ben Woodcroft <donttrustben@gmail.com> +;;; Copyright © 2015, 2017 Ben Woodcroft <donttrustben@gmail.com> ;;; Copyright © 2015, 2016 Erik Edrosa <erik.edrosa@gmail.com> ;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2015 Kyle Meyer <kyle@kyleam.com> @@ -12179,6 +12179,32 @@ YAML-serialized data.") (define-public python2-pyaml (package-with-python2 python-pyaml)) +(define-public python-backpack + (package + (name "python-backpack") + (version "0.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "backpack" version)) + (sha256 + (base32 + "14rq1mvm0jda90lcx9gyyby9dvq4x3js2cmxvd6vl4686ixwyqh1")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-nose" ,python-nose))) + (propagated-inputs + `(("python-simplejson" ,python-simplejson))) + (home-page "https://github.com/sdispater/backpack") + (synopsis "Utilities for working with Python collections") + (description "Backpack provides some useful utilities for working with +collections of data.") + (license license:expat))) + +(define-public python2-backpack + (package-with-python2 python-backpack)) + (define-public python-flexmock (package (name "python-flexmock") |