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-06-18 21:47:22 +00:00
|
|
|
version = "0.2.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-06-18 21:47:22 +00:00
|
|
|
sha256 = "94505026be56652d7a530ab03d89474dc6021019d6b8682281977163b3471ea0";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|