linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / h11 / default.nix
blobf3d37dacfa3c76a59093c94f6ed9f50c40afff31
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "h11";
9   version = "0.12.0";
11   src = fetchPypi {
12     inherit pname version;
13     sha256 = "0hk0nll6qazsambp3kl8cxxsbl4gv5y9252qadyk0jky0sv2q8j7";
14   };
16   checkInputs = [ pytestCheckHook ];
18   # Some of the tests use localhost networking.
19   __darwinAllowLocalNetworking = true;
21   meta = with lib; {
22     description = "Pure-Python, bring-your-own-I/O implementation of HTTP/1.1";
23     homepage = "https://github.com/python-hyper/h11";
24     license = licenses.mit;
25   };