1{ lib
2, fetchPypi
3, buildPythonPackage
4, openssl
5, pylsqpack
6, certifi
7, pytestCheckHook
8, pyopenssl
9}:
10
11buildPythonPackage rec {
12 pname = "aioquic";
13 version = "0.9.20";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "sha256-7ENqqs6Ze4RrAeUgDtv34+VrkYJqFE77l0j9jd0zK74=";
18 };
19
20 propagatedBuildInputs = [
21 certifi
22 pylsqpack
23 pyopenssl
24 ];
25
26 buildInputs = [ openssl ];
27
28 checkInputs = [ pytestCheckHook ];
29
30 pythonImportsCheck = [ "aioquic" ];
31
32 meta = with lib; {
33 description = "Implementation of QUIC and HTTP/3";
34 homepage = "https://github.com/aiortc/aioquic";
35 license = licenses.bsd3;
36 maintainers = with maintainers; [ onny ];
37 };
38}