about summary refs log tree commit diff
path: root/arunisaac
diff options
context:
space:
mode:
authorArun Isaac2026-06-30 12:33:49 +0100
committerArun Isaac2026-06-30 13:09:56 +0100
commitf4e1bc86f643f25dea562716cc3e64aa91a5c23d (patch)
tree51a6f3e2d20209e06aef6afdb84d45c7b96e4f8d /arunisaac
parentc9efddf0eb6a1bd40667d6aeee8148007ab0a512 (diff)
downloadguix-arunisaac-f4e1bc86f643f25dea562716cc3e64aa91a5c23d.tar.gz
guix-arunisaac-f4e1bc86f643f25dea562716cc3e64aa91a5c23d.tar.lz
guix-arunisaac-f4e1bc86f643f25dea562716cc3e64aa91a5c23d.zip
Add python-requests-2.28.
Diffstat (limited to 'arunisaac')
-rw-r--r--arunisaac/openconnect.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/arunisaac/openconnect.scm b/arunisaac/openconnect.scm
index f9974f3..ca9cb23 100644
--- a/arunisaac/openconnect.scm
+++ b/arunisaac/openconnect.scm
@@ -133,3 +133,24 @@
         (base32
          "01dkqv0rsjqyw4wrp6yj8h3bcnl7c678qkj845596vs7p4bqff4a"))))
     (build-system python-build-system)))
+
+(define python-requests-2.28
+  (package
+    (inherit python-requests)
+    (name "python-requests")
+    (version "2.28.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "requests" version))
+              (sha256
+               (base32
+                "10vrr7bijzrypvms3g2sgz8vya7f9ymmcv423ikampgy0aqrjmbw"))))
+    (build-system python-build-system)
+    (arguments (list #:tests? #f))
+    (native-inputs
+     (modify-inputs (package-native-inputs python-requests)
+       (delete "python-pytest" "python-pytest-mock")))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs python-requests)
+       (replace "python-charset-normalizer" python-charset-normalizer-2.10)
+       (replace "python-urllib3" python-urllib3-1.26)))))