Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5}:
6
7buildPythonPackage rec {
8 pname = "httptools";
9 version = "0.7.1";
10 format = "setuptools";
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-q9clVpdPjnx0olllWSSnF6I2WyNsiCw/b4pF/pRwOsk=";
15 };
16
17 # Tests are not included in pypi tarball
18 doCheck = false;
19
20 pythonImportsCheck = [ "httptools" ];
21
22 meta = {
23 description = "Collection of framework independent HTTP protocol utils";
24 homepage = "https://github.com/MagicStack/httptools";
25 changelog = "https://github.com/MagicStack/httptools/releases/tag/v${version}";
26 license = lib.licenses.mit;
27 maintainers = [ ];
28 };
29}