diff options
-rw-r--r-- | gnu/packages/python-web.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 2a7487202a..4c4a09d4a2 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -54,6 +54,7 @@ #:use-module (gnu packages curl) #:use-module (gnu packages databases) #:use-module (gnu packages django) + #:use-module (gnu packages kerberos) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-crypto) @@ -1154,6 +1155,37 @@ than Python’s urllib2 library.") (define-public python2-requests (package-with-python2 python-requests)) +(define-public python-requests-kerberos + (package + (name "python-requests-kerberos") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "requests-kerberos" version)) + (sha256 + (base32 + "1zaj1bs1bpla7324h85q0kfsrfg4mswkhcc1gva2lg65859g28cx")))) + (build-system python-build-system) + (arguments + '(#:tests? #f)) + (native-inputs + `(("python-mock" ,python-mock))) + (propagated-inputs + `(("python-cryptography" ,python-cryptography) + ("python-pykerberos" ,python-pykerberos) + ("python-requests" ,python-requests))) + (home-page + "https://github.com/requests/requests-kerberos") + (synopsis + "A Kerberos authentication handler for python-requests") + (description + "A Kerberos authentication handler for python-requests") + (license #f))) + +(define-public python2-requests-kerberos + (package-with-python2 python-requests-kerberos)) + (define-public python-requests-mock (package (name "python-requests-mock") |