1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6}: 7 8buildPythonPackage rec { 9 pname = "httptools"; 10 version = "0.6.4"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-TpPu5K3WSTtZpcUU2pjJObJE/OSg2Iec0/RmVi9LfVw="; 18 }; 19 20 # Tests are not included in pypi tarball 21 doCheck = false; 22 23 pythonImportsCheck = [ "httptools" ]; 24 25 meta = with lib; { 26 description = "Collection of framework independent HTTP protocol utils"; 27 homepage = "https://github.com/MagicStack/httptools"; 28 changelog = "https://github.com/MagicStack/httptools/releases/tag/v${version}"; 29 license = licenses.mit; 30 maintainers = [ ]; 31 }; 32}