1{ lib
2, buildPythonPackage
3, fetchPypi
4, ntlm-auth
5, requests
6}:
7
8buildPythonPackage rec {
9 pname = "requests_ntlm";
10 version = "1.1.0";
11 name = "${pname}-${version}";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "9189c92e8c61ae91402a64b972c4802b2457ce6a799d658256ebf084d5c7eb71";
16 };
17
18 propagatedBuildInputs = [ ntlm-auth requests ];
19
20 # Tests require networking
21 doCheck = false;
22
23 meta = with lib; {
24 description = "HTTP NTLM authentication support for python-requests";
25 homepage = https://github.com/requests/requests-ntlm;
26 license = licenses.isc;
27 maintainers = with maintainers; [ elasticdog ];
28 platforms = platforms.all;
29 };
30}