blob: 557620db9adcec8bdceb14fa4d864114790e6df1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
httpcore,
httpx,
wsproto,
}:
buildPythonPackage rec {
pname = "h11";
version = "0.16.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-TjW5Vs9FeS5MqliF5p+6AL28b/r7+gIDAOVJsgjuX/E=";
};
nativeCheckInputs = [ pytestCheckHook ];
# Some of the tests use localhost networking.
__darwinAllowLocalNetworking = true;
passthru.tests = {
inherit httpcore httpx wsproto;
};
meta = {
description = "Pure-Python, bring-your-own-I/O implementation of HTTP/1.1";
homepage = "https://github.com/python-hyper/h11";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|