2017-05-26 23:55:51 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, ntlm-auth
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "requests_ntlm";
|
2017-10-25 19:04:35 +01:00
|
|
|
version = "1.1.0";
|
2017-05-26 23:55:51 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-10-25 19:04:35 +01:00
|
|
|
sha256 = "9189c92e8c61ae91402a64b972c4802b2457ce6a799d658256ebf084d5c7eb71";
|
2017-05-26 23:55:51 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ntlm-auth requests ];
|
|
|
|
|
|
|
|
# Tests require networking
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "HTTP NTLM authentication support for python-requests";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/requests/requests-ntlm";
|
2017-05-26 23:55:51 +01:00
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ elasticdog ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|