2017-11-03 00:33:38 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, enum34, hpack, hyperframe }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "h2";
|
2019-08-05 21:13:25 +02:00
|
|
|
version = "3.1.1";
|
2017-11-03 00:33:38 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-05 21:13:25 +02:00
|
|
|
sha256 = "1d1svhixk3hr78ph3nx8wi7sagx1xrvm712mmk028i2rhb92p8xq";
|
2017-11-03 00:33:38 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ enum34 hpack hyperframe ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "HTTP/2 State-Machine based protocol implementation";
|
|
|
|
homepage = "http://hyper.rtfd.org/";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|