guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/09: gnu: Add python-backpack.


From: Ben Woodcroft
Subject: 01/09: gnu: Add python-backpack.
Date: Sat, 16 Sep 2017 21:13:55 -0400 (EDT)

benwoodcroft pushed a commit to branch master
in repository guix.

commit 04fb4516f4b619cf663dead171a14110e72d13e1
Author: Ben Woodcroft <address@hidden>
Date:   Sat Aug 5 12:09:56 2017 +1000

    gnu: Add python-backpack.
    
    * gnu/packages/python.scm (python-backpack): New variable.
---
 gnu/packages/python.scm | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5927db0..3e2cd20 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12,7 +12,7 @@
 ;;; Copyright © 2015 Eric Dvorsak <address@hidden>
 ;;; Copyright © 2015, 2016 David Thompson <address@hidden>
 ;;; Copyright © 2015, 2016, 2017 Leo Famulari <address@hidden>
-;;; Copyright © 2015 Ben Woodcroft <address@hidden>
+;;; Copyright © 2015, 2017 Ben Woodcroft <address@hidden>
 ;;; Copyright © 2015, 2016 Erik Edrosa <address@hidden>
 ;;; Copyright © 2015, 2016, 2017 Efraim Flashner <address@hidden>
 ;;; Copyright © 2015 Kyle Meyer <address@hidden>
@@ -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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]