python3Packages.httpx-ntlm: init at 0.0.10

This commit is contained in:
Fabian Affolter 2021-07-31 19:52:05 +02:00
parent cde2014891
commit bd3eb499b8
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,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 ];
};
}

View File

@ -3383,6 +3383,8 @@ in {
httpx = callPackage ../development/python-modules/httpx { }; httpx = callPackage ../development/python-modules/httpx { };
httpx-ntlm = callPackage ../development/python-modules/httpx-ntlm { };
httpx-socks = callPackage ../development/python-modules/httpx-socks { }; httpx-socks = callPackage ../development/python-modules/httpx-socks { };
huawei-lte-api = callPackage ../development/python-modules/huawei-lte-api { }; huawei-lte-api = callPackage ../development/python-modules/huawei-lte-api { };