depot/third_party/nixpkgs/pkgs/development/python-modules/aioquic/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

57 lines
913 B
Nix

{ lib
, buildPythonPackage
, certifi
, fetchPypi
, openssl
, pylsqpack
, pyopenssl
, pytestCheckHook
, pythonOlder
, setuptools
, service-identity
}:
buildPythonPackage rec {
pname = "aioquic";
version = "0.9.23";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-UsnaYO0IN/6LimoNfc8N++vsjpoCfhDr9yBPBWnFj6g=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
certifi
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 ];
};
}