From 0990edfecb5311f96c2200372710b9e4a70d2c5e Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Thu, 20 Oct 2016 23:45:36 +0200 Subject: gnu: Add python-aniso8601. * gnu/packages/python.scm (python-aniso8601): New variable. --- gnu/packages/python.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages') 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))) -- cgit v1.2.3