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