Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
53 lines
920 B
Nix
53 lines
920 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
certifi,
|
|
cryptography,
|
|
fetchPypi,
|
|
openssl,
|
|
pylsqpack,
|
|
pyopenssl,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
service-identity,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aioquic";
|
|
version = "1.2.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-+RJjuz9xlIxciRW01Q7jcABPIKQW9n+rPcyQVWx+cZk=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
certifi
|
|
cryptography
|
|
pylsqpack
|
|
pyopenssl
|
|
service-identity
|
|
];
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "aioquic" ];
|
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
meta = with lib; {
|
|
description = "Implementation of QUIC and HTTP/3";
|
|
homepage = "https://github.com/aiortc/aioquic";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ onny ];
|
|
};
|
|
}
|