1{ lib
2, buildPythonPackage
3, cryptography
4, fetchPypi
5, httpx
6, ntlm-auth
7}:
8
9buildPythonPackage rec {
10 pname = "httpx-ntlm";
11 version = "0.0.10";
12
13 src = fetchPypi {
14 pname = "httpx_ntlm";
15 inherit version;
16 sha256 = "1rar6smz56y8k5qbgrpabpr639nwvf6whdi093hyakf0m3h9cpfz";
17 };
18
19 propagatedBuildInputs = [
20 cryptography
21 httpx
22 ntlm-auth
23 ];
24
25 # https://github.com/ulodciv/httpx-ntlm/issues/5
26 doCheck = false;
27
28 pythonImportsCheck = [ "httpx_ntlm" ];
29
30 meta = with lib; {
31 description = "NTLM authentication support for HTTPX";
32 homepage = "https://github.com/ulodciv/httpx-ntlm";
33 license = licenses.isc;
34 maintainers = with maintainers; [ fab ];
35 };
36}