about summary refs log tree commit diff
path: root/pkgs/development/python-modules/httpx-ntlm/default.nix
blob: b3ac17cf7f07a5dea5a4649acf9915902fe8aaee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ lib
, buildPythonPackage
, cryptography
, fetchPypi
, httpx
, ntlm-auth
}:

buildPythonPackage rec {
  pname = "httpx-ntlm";
  version = "0.0.10";

  src = fetchPypi {
    pname = "httpx_ntlm";
    inherit version;
    sha256 = "1rar6smz56y8k5qbgrpabpr639nwvf6whdi093hyakf0m3h9cpfz";
  };

  propagatedBuildInputs = [
    cryptography
    httpx
    ntlm-auth
  ];

  # https://github.com/ulodciv/httpx-ntlm/issues/5
  doCheck = false;

  pythonImportsCheck = [ "httpx_ntlm" ];

  meta = with lib; {
    description = "NTLM authentication support for HTTPX";
    homepage = "https://github.com/ulodciv/httpx-ntlm";
    license = licenses.isc;
    maintainers = with maintainers; [ fab ];
  };
}