1{ lib
2, buildPythonPackage
3, fetchPypi
4, ntlm-auth
5, requests
6}:
7
8buildPythonPackage rec {
9 pname = "requests_ntlm";
10 version = "1.0.0";
11 name = "${pname}-${version}";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "0hb689p2jyb867c2wlq5mjkqxgc0jq6lxv3rmhw8rq9qangk3jjk";
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}