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