1{ lib
2, buildPythonPackage
3, certifi
4, fetchPypi
5, openssl
6, pylsqpack
7, pyopenssl
8, pytestCheckHook
9, pythonOlder
10}:
11
12buildPythonPackage rec {
13 pname = "aioquic";
14 version = "0.9.21";
15 format = "setuptools";
16
17 disabled = pythonOlder "3.8";
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-ecfsBjGOeFYnZlyk6HI63zR7ciW30AbjMtJXWh9RbvU=";
22 };
23
24 propagatedBuildInputs = [
25 certifi
26 pylsqpack
27 pyopenssl
28 ];
29
30 buildInputs = [
31 openssl
32 ];
33
34 nativeCheckInputs = [
35 pytestCheckHook
36 ];
37
38 pythonImportsCheck = [
39 "aioquic"
40 ];
41
42 __darwinAllowLocalNetworking = true;
43
44 meta = with lib; {
45 description = "Implementation of QUIC and HTTP/3";
46 homepage = "https://github.com/aiortc/aioquic";
47 license = licenses.bsd3;
48 maintainers = with maintainers; [ onny ];
49 };
50}