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