pythonPackages.requests_ntlm: init at 1.0.0

This commit is contained in:
Aaron Bull Schaefer 2017-05-26 15:55:51 -07:00
parent 663d369211
commit 65587984e4
2 changed files with 32 additions and 0 deletions

View File

@ -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;
};
}

View File

@ -21373,6 +21373,8 @@ in {
};
};
requests_ntlm = callPackage ../development/python-modules/requests_ntlm { };
requests_oauthlib = callPackage ../development/python-modules/requests-oauthlib.nix { };
requests_toolbelt = buildPythonPackage rec {