diff options
| author | Jonas Heinrich <onny@project-insanity.org> | 2022-09-01 14:41:52 +0200 |
|---|---|---|
| committer | Jonas Heinrich <onny@project-insanity.org> | 2022-09-01 14:57:05 +0200 |
| commit | e8995b4f1657beebfc1d06e53d57efafb7277d94 (patch) | |
| tree | 0cab5bd09f19be82fb24d47aa99c4a8e491b3900 | |
| parent | python310Packages.sanic: 22.3.2 -> 22.6.2 (diff) | |
| download | nixpkgs-e8995b4f1657beebfc1d06e53d57efafb7277d94.tar.gz | |
python310Packages.aioquic: init at 0.9.20
| -rw-r--r-- | pkgs/development/python-modules/aioquic/default.nix | 38 | ||||
| -rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 40 insertions, 0 deletions
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 { }; |
