diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/requests_ntlm/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/requests_ntlm/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/requests_ntlm/default.nix b/nixpkgs/pkgs/development/python-modules/requests_ntlm/default.nix new file mode 100644 index 000000000000..12cbae543ce2 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/requests_ntlm/default.nix @@ -0,0 +1,29 @@ +{ lib +, buildPythonPackage +, fetchPypi +, ntlm-auth +, requests +}: + +buildPythonPackage rec { + pname = "requests_ntlm"; + version = "1.1.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "9189c92e8c61ae91402a64b972c4802b2457ce6a799d658256ebf084d5c7eb71"; + }; + + 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; + }; +} |