gnu: Add python-idna-2.7.

* gnu/packages/python-xyz.scm (python-idna-2.7): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Jacob MacDonald 2019-07-11 15:42:37 -05:00 committed by Ludovic Courtès
parent 7deb086864
commit a76e6a690f
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 11 additions and 0 deletions

View File

@ -7233,6 +7233,17 @@ the Python standard library but currently only supports the older 2003
specification.")
(license license:bsd-4)))
(define-public python-idna-2.7
(package (inherit python-idna)
(version "2.7")
(source (origin
(method url-fetch)
(uri (pypi-uri "idna" version))
(sha256
(base32
"05jam7d31767dr12x0rbvvs8lxnpb1mhdb2zdlfxgh83z6k3hjk8"))))))
(define-public python2-idna
(package-with-python2 python-idna))