From 1f1bd5c8e8050ee07c1ffae24359f5ee26c58a68 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 26 Oct 2018 14:01:25 +0000 Subject: [PATCH] python3Packages.aioh2: init at 0.2.2 Tests skipped due to https://github.com/decentfox/aioh2/issues/17. --- .../python-modules/aioh2/default.nix | 23 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/python-modules/aioh2/default.nix diff --git a/pkgs/development/python-modules/aioh2/default.nix b/pkgs/development/python-modules/aioh2/default.nix new file mode 100644 index 00000000000..fdeb5fb0082 --- /dev/null +++ b/pkgs/development/python-modules/aioh2/default.nix @@ -0,0 +1,23 @@ +{ lib, buildPythonPackage, isPy3k, fetchPypi, h2, priority }: + +buildPythonPackage rec { + pname = "aioh2"; + version = "0.2.2"; + disabled = !isPy3k; + + src = fetchPypi { + inherit pname version; + sha256 = "03i24wzpw0mrnrpck3w6qy83iigwl7n99sdrndqzxfyrc69b99wd"; + }; + + propagatedBuildInputs = [ h2 priority ]; + + doCheck = false; # https://github.com/decentfox/aioh2/issues/17 + + meta = with lib; { + homepage = https://github.com/decentfox/aioh2; + description = "HTTP/2 implementation with hyper-h2 on Python 3 asyncio"; + license = licenses.bsd3; + maintainers = [ maintainers.qyliss ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 98afb639631..1d5ff1778df 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -702,6 +702,8 @@ in { aiofiles = callPackage ../development/python-modules/aiofiles { }; + aioh2 = callPackage ../development/python-modules/aioh2 { }; + aiohttp = callPackage ../development/python-modules/aiohttp { }; aiohttp-cors = callPackage ../development/python-modules/aiohttp/cors.nix { };