summary refs log tree commit diff
path: root/pkgs/development/python-modules/requests_ntlm
diff options
context:
space:
mode:
authorAaron Bull Schaefer <aaron@elasticdog.com>2017-05-26 15:55:51 -0700
committerAaron Bull Schaefer <aaron@elasticdog.com>2017-05-28 11:37:48 -0700
commit65587984e4576b07ffa31faa076fe016077579bb (patch)
tree1a29248aa0cbdba0ea0b91122dbb6bf86cc28ffb /pkgs/development/python-modules/requests_ntlm
parent663d369211d9a62233d69b159ff43fb051b7f532 (diff)
downloadnixlib-65587984e4576b07ffa31faa076fe016077579bb.tar
nixlib-65587984e4576b07ffa31faa076fe016077579bb.tar.gz
nixlib-65587984e4576b07ffa31faa076fe016077579bb.tar.bz2
nixlib-65587984e4576b07ffa31faa076fe016077579bb.tar.lz
nixlib-65587984e4576b07ffa31faa076fe016077579bb.tar.xz
nixlib-65587984e4576b07ffa31faa076fe016077579bb.tar.zst
nixlib-65587984e4576b07ffa31faa076fe016077579bb.zip
pythonPackages.requests_ntlm: init at 1.0.0
Diffstat (limited to 'pkgs/development/python-modules/requests_ntlm')
-rw-r--r--pkgs/development/python-modules/requests_ntlm/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/requests_ntlm/default.nix b/pkgs/development/python-modules/requests_ntlm/default.nix
new file mode 100644
index 000000000000..c475ff85ff36
--- /dev/null
+++ b/pkgs/development/python-modules/requests_ntlm/default.nix
@@ -0,0 +1,30 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, ntlm-auth
+, requests
+}:
+
+buildPythonPackage rec {
+  pname = "requests_ntlm";
+  version = "1.0.0";
+  name = "${pname}-${version}";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0hb689p2jyb867c2wlq5mjkqxgc0jq6lxv3rmhw8rq9qangk3jjk";
+  };
+
+  propagatedBuildInputs = [ ntlm-auth requests ];
+
+  # Tests require networking
+  doCheck = false;
+
+  meta = with lib; {
+    description = "HTTP NTLM authentication support for python-requests";
+    homepage = https://github.com/requests/requests-ntlm;
+    license = licenses.isc;
+    maintainers = with maintainers; [ elasticdog ];
+    platforms = platforms.all;
+  };
+}