Patchwork [04/11] gnu: Add python-munch.

login
register
mail settings
Submitter ng0
Date Dec. 11, 2016, 6:12 p.m.
Message ID <20161211181237.24485-5-ng0@libertad.pw>
Download mbox | patch
Permalink /patch/18368/
State New
Headers show

Comments

ng0 - Dec. 11, 2016, 6:12 p.m.
* gnu/packages/python.scm (python-munch): New variable.
---
 gnu/packages/python.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 6b355b723..2a49a060b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3257,6 +3257,28 @@  capabilities.")
 (define python2-numpy-bootstrap
   (package-with-python2 python-numpy-bootstrap))
 
+(define-public python-munch
+  (package
+    (name "python-munch")
+    (version "2.0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "munch" version))
+       (sha256
+        (base32
+         "1cmqg91xnqx8gvnh4pmp0bfl1dfcm65d5p9mg73zz8pkjhx6h80l"))))
+    (build-system python-build-system)
+    (home-page "http://github.com/Infinidat/munch")
+    (synopsis "Dot-accessible dictionary")
+    (description
+     "Munch is a dot-accessible dictionary similar to
+JavaScript objects.")
+    (license license:expat)))
+
+(define-public python2-munch
+  (package-with-python2 python-munch))
+
 (define-public python2-fastlmm
   (package
     (name "python2-fastlmm")