1{ lib 2, buildPythonPackage 3, fetchPypi 4, httpx 5, pyspnego 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "httpx-ntlm"; 11 version = "1.4.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 pname = "httpx_ntlm"; 18 inherit version; 19 hash = "sha256-Qb6KK6hRQ0hOYX3LkX1LGeOuEq/caIYipJAQNJk7U+Q="; 20 }; 21 22 propagatedBuildInputs = [ 23 httpx 24 pyspnego 25 ]; 26 27 # https://github.com/ulodciv/httpx-ntlm/issues/5 28 doCheck = false; 29 30 pythonImportsCheck = [ 31 "httpx_ntlm" 32 ]; 33 34 meta = with lib; { 35 description = "NTLM authentication support for HTTPX"; 36 homepage = "https://github.com/ulodciv/httpx-ntlm"; 37 changelog = "https://github.com/ulodciv/httpx-ntlm/releases/tag/${version}"; 38 license = licenses.isc; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}