2017-11-03 00:33:38 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, enum34, hpack, hyperframe }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "h2";
|
2019-02-14 08:37:17 +01:00
|
|
|
version = "3.1.0";
|
2017-11-03 00:33:38 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 08:37:17 +01:00
|
|
|
sha256 = "fd07e865a3272ac6ef195d8904de92dc7b38dc28297ec39cfa22716b6d62e6eb";
|
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;
|
|
|
|
};
|
|
|
|
}
|