gnu: Add python-urllib3-1.24.

* gnu/packages/python-web.scm (python-urllib3-1.24): New variable.

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

View File

@ -1528,6 +1528,18 @@ can reuse the same socket connection for multiple requests, it can POST files,
supports url redirection and retries, and also gzip and deflate decoding.")
(license license:expat)))
;; Some software requires an older version of urllib3, notably Docker.
(define-public python-urllib3-1.24
(package (inherit python-urllib3)
(version "1.24.3")
(source (origin
(method url-fetch)
(uri (pypi-uri "urllib3" version))
(sha256
(base32
"1x0slqrv6kixkbcdnxbglvjliwhc1payavxjvk8fvbqjrnasd4r3"))))))
(define-public python2-urllib3
(package-with-python2 python-urllib3))