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";
|
2020-06-06 07:47:12 +01:00
|
|
|
version = "0.1.1";
|
2020-06-16 21:59:29 +01:00
|
|
|
disabled = isPy27;
|
2019-05-07 13:52:41 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:12 +01:00
|
|
|
sha256 = "41b573cf33f64a8f8f3400d0a7faf48e1888582b6f6e02b82b9bd4f0bf7497ce";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|