2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2020-12-07 07:45:13 +00:00
|
|
|
, enum34, hpack, hyperframe, pytestCheckHook, hypothesis }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "h2";
|
2020-12-07 07:45:13 +00:00
|
|
|
version = "4.0.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-07 07:45:13 +00:00
|
|
|
sha256 = "bb7ac7099dd67a857ed52c815a6192b6b1f5ba6b516237fc24a085341340593d";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ enum34 hpack hyperframe ];
|
|
|
|
|
2020-12-07 07:45:13 +00:00
|
|
|
checkInputs = [ pytestCheckHook hypothesis ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "HTTP/2 State-Machine based protocol implementation";
|
|
|
|
homepage = "http://hyper.rtfd.org/";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|