gnu: Add python-aniso8601.

* gnu/packages/python.scm (python-aniso8601): New variable.
This commit is contained in:
Danny Milosavljevic 2016-10-20 23:45:36 +02:00 committed by Hartmut Goebel
parent 04ce840a82
commit 0990edfecb
No known key found for this signature in database
GPG Key ID: 634A8DFFD3F631DF
1 changed files with 22 additions and 0 deletions

View File

@ -11232,3 +11232,25 @@ useful as a validator for JSON data.")
(inherit base) (inherit base)
(native-inputs `(("python2-setuptools" ,python2-setuptools) (native-inputs `(("python2-setuptools" ,python2-setuptools)
,@(package-native-inputs base)))))) ,@(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)))