gnu: Add python-idna-ssl.

* gnu/packages/python.scm (python-idna-ssl): New variable.
This commit is contained in:
Nicolas Goaziou 2018-04-23 00:10:45 +02:00
parent 3cdab3d485
commit 2528f3c867
No known key found for this signature in database
GPG key ID: A834B9E080A93738

View file

@ -6285,6 +6285,26 @@ (define-public python-idna
(define-public python2-idna
(package-with-python2 python-idna))
(define-public python-idna-ssl
(package
(name "python-idna-ssl")
(version "1.0.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "idna-ssl" version))
(sha256
(base32
"0ydrc8hpg9mdr5hqq1lqfsfbn6sjq69slwpfrnlrm3k0phqg14qj"))))
(build-system python-build-system)
(arguments
`(#:tests? #f)) ;circular dependency with python-aiohttp
(home-page "https://github.com/aio-libs/idna-ssl")
(synopsis "Patch @code{ssl.match_hostname} for Unicode(idna) domains support")
(description "Patch @code{ssl.match_hostname} for Unicode(idna)
domains support.")
(license license:expat)))
(define-public python-pretend
(package
(name "python-pretend")