aboutsummaryrefslogtreecommitdiff
path: root/guix.scm
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-09-27 09:09:54 +0200
committerWojtek Kosior <koszko@koszko.org>2022-09-28 14:03:18 +0200
commitd42379c189c33dac732a1a1341395a9f5683260b (patch)
tree40260daf8068674cdab73b8b0b12311ddc85dab5 /guix.scm
parented85c1ce79b2a562f27649e3a2abd518e507ad62 (diff)
downloadhaketilo-hydrilla-d42379c189c33dac732a1a1341395a9f5683260b.tar.gz
haketilo-hydrilla-d42379c189c33dac732a1a1341395a9f5683260b.zip
[proxy] add typing stubs for requests library to Guix development environment
Diffstat (limited to 'guix.scm')
-rw-r--r--guix.scm25
1 files changed, 24 insertions, 1 deletions
diff --git a/guix.scm b/guix.scm
index aa5ea3c..38a673d 100644
--- a/guix.scm
+++ b/guix.scm
@@ -243,6 +243,24 @@ SSL/TLS-protected protocols.")
(native-inputs
(list python-pytest python-mypy)))))
+(define-public python-types-requests
+ (package
+ (name "python-types-requests")
+ (version "2.26.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "types-requests" version))
+ (sha256
+ (base32
+ "10sq8jarr642vhw53k6zbf3hn2b8xfyrckwfngml4fj19g1whpnz"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/python/typeshed")
+ (synopsis "Typing stubs for requests")
+ (description
+ "This package provides a collection of library stubs for Python, with
+static types.")
+ (license license:asl2.0)))
+
;; WARNING! Haketilo package is not ready for building yet. The definition below
;; is only useful for setting up a development environment with
;; `guix shell -D -f guix.scm`. The package will be updated to build properly
@@ -271,7 +289,12 @@ SSL/TLS-protected protocols.")
python-jsonschema
python-gnupg))
(native-inputs
- (list python-setuptools-scm python-babel python-pytest python-pypa-build))
+ (list python-setuptools-scm
+ python-babel
+ python-pytest
+ python-pypa-build
+ python-mypy
+ python-types-requests))
(home-page "https://hydrillabugs.koszko.org/projects/haketilo/wiki")
(synopsis "Block JavaScript and add custom logic to web pages")
(description "Haketilo HTTP proxy facilitates viewing of websites while