[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#38957] [PATCH 3/4] gnu: Add python-requests_ntlm.
From: |
Christopher Baines |
Subject: |
[bug#38957] [PATCH 3/4] gnu: Add python-requests_ntlm. |
Date: |
Sun, 22 Mar 2020 23:36:44 +0000 |
From: Alexandros Theodotou <address@hidden>
* gnu/packages/python-web.scm (python-requests_ntlm): New variable.
---
gnu/packages/python-web.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b02ffd5f58..6f6b5fd4d3 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -33,6 +33,7 @@
;;; Copyright © 2019 Tanguy Le Carrour <address@hidden>
;;; Copyright © 2020 Jakub Kądziołka <address@hidden>
;;; Copyright © 2020 Evan Straw <address@hidden>
+;;; Copyright © 2020 Alexandros Theodotou <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1422,6 +1423,30 @@ than Python’s urllib2 library.")
(define-public python2-requests
(package-with-python2 python-requests))
+(define-public python-requests_ntlm
+ (package
+ (name "python-requests_ntlm")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "requests_ntlm" version))
+ (sha256
+ (base32
+ "0wgbqzaq9w7bas16b7brdb75f91bh3275fb459093bk1ihpck2ci"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-cryptography" ,python-cryptography)
+ ("python-ntlm-auth" ,python-ntlm-auth)
+ ("python-requests" ,python-requests)))
+ (home-page "https://github.com/requests/requests-ntlm")
+ (synopsis
+ "NTLM authentication support for Requests")
+ (description
+ "This package allows for HTTP NTLM authentication using the requests
+library.")
+ (license license:isc)))
+
(define-public python-requests-mock
(package
(name "python-requests-mock")
--
2.25.1