civodul pushed a commit to branch master
in repository guix.
commit a76e6a690f290084ff9bf08df416d84463018e3c
Author: Jacob MacDonald <[email protected]>
Date: Thu Jul 11 15:42:37 2019 -0500
gnu: Add python-idna-2.7.
* gnu/packages/python-xyz.scm (python-idna-2.7): New variable.
Signed-off-by: Ludovic Courtès <[email protected]>
---
gnu/packages/python-xyz.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b078786..caa3ba2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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))