2019-05-07 05:52:41 -07:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "httptools";
|
2020-06-05 23:47:12 -07:00
|
|
|
version = "0.1.1";
|
2019-05-07 05:52:41 -07:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-05 23:47:12 -07:00
|
|
|
sha256 = "41b573cf33f64a8f8f3400d0a7faf48e1888582b6f6e02b82b9bd4f0bf7497ce";
|
2019-05-07 05:52:41 -07:00
|
|
|
};
|
|
|
|
|
2020-06-08 11:49:31 -07:00
|
|
|
# tests are not included in pypi tarball
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "httptools" ];
|
|
|
|
|
2019-05-07 05:52:41 -07:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A collection of framework independent HTTP protocol utils";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/MagicStack/httptools";
|
2019-05-07 05:52:41 -07:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|