depot/third_party/nixpkgs/pkgs/development/python-modules/aioquic/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

52 lines
920 B
Nix

{
lib,
buildPythonPackage,
certifi,
cryptography,
fetchPypi,
openssl,
pylsqpack,
pyopenssl,
pytestCheckHook,
pythonOlder,
setuptools,
service-identity,
}:
buildPythonPackage rec {
pname = "aioquic";
version = "1.0.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-7THCta+pjFtsr6TzYUnerx3/bFppcB6t0nFnQV+fFmA=";
};
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 ];
};
}