depot/third_party/nixpkgs/pkgs/development/python-modules/aioquic/default.nix
Default email 60f07311b9 Project import generated by Copybara.
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
2024-02-06 17:22:34 -08:00

59 lines
945 B
Nix

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