guix-patches
[Top][All Lists]
Advanced

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

bug#27071: [PATCH v2 5/8] gnu: Add python-marshmallow.


From: Danny Milosavljevic
Subject: bug#27071: [PATCH v2 5/8] gnu: Add python-marshmallow.
Date: Sat, 3 Jun 2017 08:22:13 +0200

* gnu/packages/python.scm (python-marshmallow, python2-marshmallow):
New variables.
---
 gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index be4ca2dd6..7b82a301a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -15018,3 +15018,31 @@ address is valid and really exists.")
 
 (define-public python2-flex
   (package-with-python2 python-flex))
+
+(define-public python-marshmallow
+  (package
+    (name "python-marshmallow")
+    (version "3.0.0b2")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (pypi-uri "marshmallow" version))
+      (sha256
+       (base32
+        "11bnpvfdbczr74177p295zbkdrax2cahvbj5bqhhlprgz2xxi5d9"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-dateutil" ,python-dateutil)
+       ("python-simplejson" ,python-simplejson)))
+    (native-inputs
+     `(("python-pytest-3.0" ,python-pytest-3.0)
+       ("python-pytz" ,python-pytz)))
+    (home-page "https://github.com/marshmallow-code/marshmallow";)
+    (synopsis "Convert complex datatypes to and from native
+Python datatypes.")
+    (description "@code{marshmallow} provides a library for converting
+complex datatypes to and from native Python datatypes.")
+    (license license:expat)))
+
+(define-public python2-marshmallow
+  (package-with-python2 python-marshmallow))





reply via email to

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