biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / h11 / default.nix
bloba7e4271006d77e8c8e044b58e653907bb5a05dd3
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pytestCheckHook,
6   pythonOlder,
7   httpcore,
8   httpx,
9   wsproto,
12 buildPythonPackage rec {
13   pname = "h11";
14   version = "0.14.0";
15   format = "setuptools";
16   disabled = pythonOlder "3.6";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-jxn7vpnnJCD/NcALJ6NMuZN+kCqLgQ4siDAMbwo7aZ0=";
21   };
23   nativeCheckInputs = [ pytestCheckHook ];
25   # Some of the tests use localhost networking.
26   __darwinAllowLocalNetworking = true;
28   passthru.tests = {
29     inherit httpcore httpx wsproto;
30   };
32   meta = with lib; {
33     description = "Pure-Python, bring-your-own-I/O implementation of HTTP/1.1";
34     homepage = "https://github.com/python-hyper/h11";
35     license = licenses.mit;
36     maintainers = [ ];
37   };