* gnu/packages/python.scm (python-requests-2.8.1) New variable.
---
 gnu/packages/python.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9bae47b..82258b5 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14278,3 +14278,19 @@ and correct.")
 
 (define-public python2-steadymark
   (package-with-python2 python-steadymark))
+
+(define-public python-requests-2.8.1
+  ;; httpretty has a hard requirement for requests==2.8.1
+  (package
+    (inherit python-requests)
+    (version "2.8.1")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (pypi-uri "requests" version))
+      (sha256
+        (base32
+         "0ny2nr1sqr4hcn3903ghmh7w2yni8shlfv240a8c9p6wyidqvzl4"))))))
+
+(define-public python2-requests-2.8.1
+  (package-with-python2 python-requests-2.8.1))
-- 
2.10.2


Reply via email to