Patchwork [1/4] gnu: Add python-aniso8601.

login
register
mail settings
Submitter Danny Milosavljevic
Date Oct. 20, 2016, 9:45 p.m.
Message ID <20161020214539.7706-2-dannym@scratchpost.org>
Download mbox | patch
Permalink /patch/16711/
State New
Headers show

Comments

Danny Milosavljevic - Oct. 20, 2016, 9:45 p.m.
* gnu/packages/python.scm (python-aniso8601): 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 9019fc3..d60bec0 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11226,3 +11226,25 @@  useful as a validator for JSON data.")
 
 (define-public python2-validictory
     (package-with-python2 python-validictory))
+
+(define-public python-aniso8601
+  (package
+    (name "python-aniso8601")
+    (version "1.1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "aniso8601" version))
+        (sha256
+          (base32
+            "1k5mjg9iqbjfslb5prrsfz7dhlvi6s35p1jxq8dm87w1b7dn5i2g"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-dateutil-2" ,python-dateutil-2)))
+    (home-page
+      "https://bitbucket.org/nielsenb/aniso8601")
+    (synopsis
+      "Python library for parsing ISO 8601 strings")
+    (description
+      "This package contains a library for parsing ISO 8601 datetime strings.")
+    (license license:bsd-3)))