summary refs log tree commit diff
path: root/pkgs/development/python-modules/requests_ntlm/default.nix
blob: c475ff85ff36af9c55f93e9694e45a9700c89d2b (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
{ lib
, buildPythonPackage
, fetchPypi
, ntlm-auth
, requests
}:

buildPythonPackage rec {
  pname = "requests_ntlm";
  version = "1.0.0";
  name = "${pname}-${version}";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0hb689p2jyb867c2wlq5mjkqxgc0jq6lxv3rmhw8rq9qangk3jjk";
  };

  propagatedBuildInputs = [ ntlm-auth requests ];

  # Tests require networking
  doCheck = false;

  meta = with lib; {
    description = "HTTP NTLM authentication support for python-requests";
    homepage = https://github.com/requests/requests-ntlm;
    license = licenses.isc;
    maintainers = with maintainers; [ elasticdog ];
    platforms = platforms.all;
  };
}