pythonPackages.requests_ntlm: init at 1.0.0
This commit is contained in:
parent
663d369211
commit
65587984e4
30
pkgs/development/python-modules/requests_ntlm/default.nix
Normal file
30
pkgs/development/python-modules/requests_ntlm/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue