From e8995b4f1657beebfc1d06e53d57efafb7277d94 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Thu, 1 Sep 2022 14:41:52 +0200 Subject: [PATCH] python310Packages.aioquic: init at 0.9.20 --- .../python-modules/aioquic/default.nix | 38 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 40 insertions(+) create mode 100644 pkgs/development/python-modules/aioquic/default.nix diff --git a/pkgs/development/python-modules/aioquic/default.nix b/pkgs/development/python-modules/aioquic/default.nix new file mode 100644 index 000000000000..9ea35ea2d668 --- /dev/null +++ b/pkgs/development/python-modules/aioquic/default.nix @@ -0,0 +1,38 @@ +{ lib +, fetchPypi +, buildPythonPackage +, openssl +, pylsqpack +, certifi +, pytestCheckHook +, pyopenssl +}: + +buildPythonPackage rec { + pname = "aioquic"; + version = "0.9.20"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-7ENqqs6Ze4RrAeUgDtv34+VrkYJqFE77l0j9jd0zK74="; + }; + + propagatedBuildInputs = [ + certifi + pylsqpack + pyopenssl + ]; + + buildInputs = [ openssl ]; + + checkInputs = [ pytestCheckHook ]; + + pythonImportsCheck = [ "aioquic" ]; + + meta = with lib; { + description = "Implementation of QUIC and HTTP/3"; + homepage = "https://github.com/aiortc/aioquic"; + license = licenses.bsd3; + maintainers = with maintainers; [ onny ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8e01b0f15281..e0b322c2c638 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -410,6 +410,8 @@ in { aioqsw = callPackage ../development/python-modules/aioqsw { }; + aioquic = callPackage ../development/python-modules/aioquic { }; + aiorecollect = callPackage ../development/python-modules/aiorecollect { }; aioredis = callPackage ../development/python-modules/aioredis { };