From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:60737) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGA9Q-0005mh-7P for guix-patches@gnu.org; Sun, 22 Mar 2020 19:37:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGA9P-0006N3-4p for guix-patches@gnu.org; Sun, 22 Mar 2020 19:37:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45194) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jGA9P-0006Mz-1o for guix-patches@gnu.org; Sun, 22 Mar 2020 19:37:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jGA9O-0002Bl-WE for guix-patches@gnu.org; Sun, 22 Mar 2020 19:37:03 -0400 Subject: [bug#38957] [PATCH 3/4] gnu: Add python-requests_ntlm. Resent-Message-ID: From: Christopher Baines Date: Sun, 22 Mar 2020 23:36:44 +0000 Message-Id: <20200322233645.3220-3-mail@cbaines.net> In-Reply-To: <20200322233645.3220-1-mail@cbaines.net> References: <20200322233645.3220-1-mail@cbaines.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38957@debbugs.gnu.org From: Alexandros Theodotou * 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 ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2020 Evan Straw +;;; Copyright © 2020 Alexandros Theodotou ;;; ;;; 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