aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-10-08 22:28:28 +0100
committerChristopher Baines <mail@cbaines.net>2018-10-08 22:28:28 +0100
commitff594d992410776f3a2b2bb9500544be930c4559 (patch)
treeb3e92551ac2f5334a065011c88a2d0fc6ebe49f2 /gnu/packages
parentf86de65779e09339c376714aaad80af3449074d5 (diff)
downloadguix-ff594d992410776f3a2b2bb9500544be930c4559.tar
guix-ff594d992410776f3a2b2bb9500544be930c4559.tar.gz
gnu: Add python-requests-kerberos.
* gnu/packages/python.web (python-requests-kerberos, python2-requests-kerberos): New variables.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-web.scm32
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")