gnu: Add python-ukpostcodeparser and python2-ukpostcodeparser.

* gnu/packages/python.scm (python-ukpostcodeparser)
(python2-ukpostcodeparser): New variables.
This commit is contained in:
宋文武 2016-06-23 23:14:53 +08:00
parent 22711e2585
commit 8987d91e7f
No known key found for this signature in database
GPG key ID: 26525665AE727D37

View file

@ -9500,3 +9500,25 @@ (define-public python-email-validator
(define-public python2-email-validator
(package-with-python2 python-email-validator))
(define-public python-ukpostcodeparser
(package
(name "python-ukpostcodeparser")
(version "1.0.3")
(source (origin
(method url-fetch)
(uri (pypi-uri "UkPostcodeParser" version))
(sha256
(base32
"1jwg9z4rz51mcka1821rwgycsd0mcicyp1kiwjfa2kvg8bm9p2qd"))))
(build-system python-build-system)
(native-inputs
`(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/hamstah/ukpostcodeparser")
(synopsis "UK Postcode parser for Python")
(description
"This library provides the @code{parse_uk_postcode} function for
parsing UK postcodes.")
(license license:expat)))
(define-public python2-ukpostcodeparser
(package-with-python2 python-ukpostcodeparser))