gnu: Add python-requests-2.20.

* gnu/packages/python-web.scm (python-requests-2.20): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Jacob MacDonald 2019-07-11 15:41:26 -05:00 committed by Ludovic Courtès
parent a76e6a690f
commit 97f0bd7d68
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 16 additions and 0 deletions

View File

@ -1352,6 +1352,22 @@ WebSocket usage in Python programs.")
than Pythons urllib2 library.")
(license license:asl2.0)))
;; Some software requires an older version of Requests, notably Docker/Docker
;; Compose.
(define-public python-requests-2.20
(package (inherit python-requests)
(version "2.20.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "requests" version))
(sha256
(base32
"0qzj6cgv3k9wyj7wlxgz7xq0cfg4jbbkfm24pp8dnhczwl31527a"))))
(propagated-inputs
`(("python-urllib3" ,python-urllib3-1.24)
("python-idna" ,python-idna-2.7)
,@(package-propagated-inputs python-requests)))))
;; Some software requires an older version of Requests, notably Docker
;; Compose.
(define-public python-requests-2.7