0215034f25
when they already rely on SRI hashes.
28 lines
603 B
Nix
28 lines
603 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy27
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "httptools";
|
|
version = "0.5.0";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-KVh0hhwXP5EBlgu6MyQpu3ftTc2M31zumSLrAOT2vAk=";
|
|
};
|
|
|
|
# tests are not included in pypi tarball
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "httptools" ];
|
|
|
|
meta = with lib; {
|
|
description = "A collection of framework independent HTTP protocol utils";
|
|
homepage = "https://github.com/MagicStack/httptools";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|