depot/third_party/nixpkgs/pkgs/development/python-modules/httpx-ntlm/default.nix
Default email 4d5a95770c Project import generated by Copybara.
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
2023-03-04 15:14:45 +03:00

40 lines
736 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, httpx
, pyspnego
, pythonOlder
}:
buildPythonPackage rec {
pname = "httpx-ntlm";
version = "1.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "httpx_ntlm";
inherit version;
hash = "sha256-a1a5laZ4tNOtpVDFCK1t2IXWbyJytZMhuad2JtmA52I=";
};
propagatedBuildInputs = [
httpx
pyspnego
];
# 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 ];
};
}