1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6}:
7
8buildPythonPackage rec {
9 pname = "httptools";
10 version = "0.6.1";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.7";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-xuJsMEVWALldlLG4NghROOgvF3NRRU7oQcFI+TqbrVo=";
18 };
19
20 # Tests are not included in pypi tarball
21 doCheck = false;
22
23 pythonImportsCheck = [ "httptools" ];
24
25 meta = with lib; {
26 description = "A collection of framework independent HTTP protocol utils";
27 homepage = "https://github.com/MagicStack/httptools";
28 changelog = "https://github.com/MagicStack/httptools/releases/tag/v${version}";
29 license = licenses.mit;
30 maintainers = with maintainers; [ ];
31 };
32}