1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy27
5}:
6
7buildPythonPackage rec {
8 pname = "httptools";
9 version = "0.3.0";
10 disabled = isPy27;
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "3f9b4856d46ba1f0c850f4e84b264a9a8b4460acb20e865ec00978ad9fbaa4cf";
15 };
16
17 # tests are not included in pypi tarball
18 doCheck = false;
19
20 pythonImportsCheck = [ "httptools" ];
21
22 meta = with lib; {
23 description = "A collection of framework independent HTTP protocol utils";
24 homepage = "https://github.com/MagicStack/httptools";
25 license = licenses.mit;
26 maintainers = [ maintainers.costrouc ];
27 };
28}