aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2016-10-20 23:45:36 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2016-10-23 19:31:39 +0200
commit0990edfecb5311f96c2200372710b9e4a70d2c5e (patch)
tree2b04ccc946fccd0174cc5b37eda6e29166d2147f
parent04ce840a82a82fdae93cede4b678a66c88ee5312 (diff)
downloadguix-0990edfecb5311f96c2200372710b9e4a70d2c5e.tar
guix-0990edfecb5311f96c2200372710b9e4a70d2c5e.tar.gz
gnu: Add python-aniso8601.
* gnu/packages/python.scm (python-aniso8601): New variable.
-rw-r--r--gnu/packages/python.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c3bb28af56..b3002235ca 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11232,3 +11232,25 @@ useful as a validator for JSON data.")
(inherit base)
(native-inputs `(("python2-setuptools" ,python2-setuptools)
,@(package-native-inputs base))))))
+
+(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)))