Files
nixpkgs/pkgs/development/python-modules/aioquic/default.nix
T
2026-02-11 21:05:29 -05:00

51 lines
958 B
Nix

{
lib,
buildPythonPackage,
certifi,
cryptography,
fetchPypi,
openssl,
pylsqpack,
pyopenssl,
pytestCheckHook,
setuptools,
service-identity,
}:
buildPythonPackage rec {
pname = "aioquic";
version = "1.2.0";
pyproject = true;
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 = {
description = "Implementation of QUIC and HTTP/3";
homepage = "https://github.com/aiortc/aioquic";
changelog = "https://github.com/aiortc/aioquic/blob/${version}/docs/changelog.rst";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ onny ];
};
}