2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildPythonPackage, fetchPypi
|
2020-11-29 19:25:18 +00:00
|
|
|
, enum34, hpack, hyperframe, pytestCheckHook, hypothesis }:
|
2017-11-02 23:33:38 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "h2";
|
2020-11-29 14:04:30 +00:00
|
|
|
version = "4.0.0";
|
2017-11-02 23:33:38 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:30 +00:00
|
|
|
sha256 = "bb7ac7099dd67a857ed52c815a6192b6b1f5ba6b516237fc24a085341340593d";
|
2017-11-02 23:33:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ enum34 hpack hyperframe ];
|
|
|
|
|
2020-11-29 19:25:18 +00:00
|
|
|
checkInputs = [ pytestCheckHook hypothesis ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-11-02 23:33:38 +00:00
|
|
|
description = "HTTP/2 State-Machine based protocol implementation";
|
|
|
|
homepage = "http://hyper.rtfd.org/";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|