1{ lib, buildPythonPackage, isPy3k, fetchPypi, h2, priority }:
2
3buildPythonPackage rec {
4 pname = "aioh2";
5 version = "0.2.2";
6 disabled = !isPy3k;
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "03i24wzpw0mrnrpck3w6qy83iigwl7n99sdrndqzxfyrc69b99wd";
11 };
12
13 propagatedBuildInputs = [ h2 priority ];
14
15 doCheck = false; # https://github.com/decentfox/aioh2/issues/17
16
17 meta = with lib; {
18 homepage = "https://github.com/decentfox/aioh2";
19 description = "HTTP/2 implementation with hyper-h2 on Python 3 asyncio";
20 license = licenses.bsd3;
21 maintainers = [ maintainers.qyliss ];
22 broken = true; # requires h2<4
23 };
24}