0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00
nixpkgs/pkgs/development/python-modules/httptools/default.nix

32 lines
712 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
}:
buildPythonPackage rec {
pname = "httptools";
version = "0.6.4";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-TpPu5K3WSTtZpcUU2pjJObJE/OSg2Iec0/RmVi9LfVw=";
};
# Tests are not included in pypi tarball
doCheck = false;
pythonImportsCheck = [ "httptools" ];
meta = with lib; {
description = "Collection of framework independent HTTP protocol utils";
homepage = "https://github.com/MagicStack/httptools";
changelog = "https://github.com/MagicStack/httptools/releases/tag/v${version}";
license = licenses.mit;
maintainers = [ ];
};
}