2019-05-07 12:52:41 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-06-16 20:59:29 +00:00
|
|
|
, isPy27
|
2019-05-07 12:52:41 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "httptools";
|
2021-08-26 19:32:35 +00:00
|
|
|
version = "0.3.0";
|
2020-06-16 20:59:29 +00:00
|
|
|
disabled = isPy27;
|
2019-05-07 12:52:41 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-26 19:32:35 +00:00
|
|
|
sha256 = "3f9b4856d46ba1f0c850f4e84b264a9a8b4460acb20e865ec00978ad9fbaa4cf";
|
2019-05-07 12:52:41 +00:00
|
|
|
};
|
|
|
|
|
2020-06-08 18:49:31 +00:00
|
|
|
# tests are not included in pypi tarball
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "httptools" ];
|
|
|
|
|
2019-05-07 12:52:41 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A collection of framework independent HTTP protocol utils";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/MagicStack/httptools";
|
2019-05-07 12:52:41 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|