1{ lib, buildPythonPackage, fetchPypi
2, enum34, hpack, hyperframe, pytestCheckHook, hypothesis }:
3
4buildPythonPackage rec {
5 pname = "h2";
6 version = "4.0.0";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "bb7ac7099dd67a857ed52c815a6192b6b1f5ba6b516237fc24a085341340593d";
11 };
12
13 propagatedBuildInputs = [ enum34 hpack hyperframe ];
14
15 checkInputs = [ pytestCheckHook hypothesis ];
16
17 meta = with lib; {
18 description = "HTTP/2 State-Machine based protocol implementation";
19 homepage = "http://hyper.rtfd.org/";
20 license = licenses.mit;
21 };
22}