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
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "9189c92e8c61ae91402a64b972c4802b2457ce6a799d658256ebf084d5c7eb71";
15 };
16
17 propagatedBuildInputs = [ ntlm-auth requests ];
18
19 # Tests require networking
20 doCheck = false;
21
22 meta = with lib; {
23 description = "HTTP NTLM authentication support for python-requests";
24 homepage = "https://github.com/requests/requests-ntlm";
25 license = licenses.isc;
26 maintainers = with maintainers; [ elasticdog ];
27 platforms = platforms.all;
28 };
29}