mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: Add version 2.7 variant of python-requests.
* gnu/packages/python.scm (python-requests-2.7): New variable.
This commit is contained in:
parent
3141b83d4d
commit
e90051808b
1 changed files with 12 additions and 0 deletions
|
@ -2182,6 +2182,18 @@ (define-public python-requests
|
|||
than Python’s urllib2 library.")
|
||||
(license asl2.0)))
|
||||
|
||||
;; Some software requires an older version of Requests, notably Docker
|
||||
;; Compose.
|
||||
(define-public python-requests-2.7
|
||||
(package (inherit python-requests)
|
||||
(version "2.7.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "requests" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0gdr9dxm24amxpbyqpbh3lbwxc2i42hnqv50sigx568qssv3v2ir"))))))
|
||||
|
||||
(define-public python2-requests
|
||||
(package-with-python2 python-requests))
|
||||
|
||||
|
|
Loading…
Reference in a new issue