nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 50 lines 958 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 certifi, 5 cryptography, 6 fetchPypi, 7 openssl, 8 pylsqpack, 9 pyopenssl, 10 pytestCheckHook, 11 setuptools, 12 service-identity, 13}: 14 15buildPythonPackage rec { 16 pname = "aioquic"; 17 version = "1.3.0"; 18 pyproject = true; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-KNBwshg+PnmvqdTnvVWJYNDVOuuYvAzwo1iyebp5fJI="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 certifi 29 cryptography 30 pylsqpack 31 pyopenssl 32 service-identity 33 ]; 34 35 buildInputs = [ openssl ]; 36 37 nativeCheckInputs = [ pytestCheckHook ]; 38 39 pythonImportsCheck = [ "aioquic" ]; 40 41 __darwinAllowLocalNetworking = true; 42 43 meta = { 44 description = "Implementation of QUIC and HTTP/3"; 45 homepage = "https://github.com/aiortc/aioquic"; 46 changelog = "https://github.com/aiortc/aioquic/blob/${version}/docs/changelog.rst"; 47 license = lib.licenses.bsd3; 48 maintainers = with lib.maintainers; [ onny ]; 49 }; 50}