diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/h2/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/development/python-modules/h2/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/h2/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/h2/default.nix new file mode 100644 index 000000000000..7597abbe0f9e --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/h2/default.nix @@ -0,0 +1,22 @@ +{ stdenv, buildPythonPackage, fetchPypi +, enum34, hpack, hyperframe, pytestCheckHook, hypothesis }: + +buildPythonPackage rec { + pname = "h2"; + version = "4.0.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "bb7ac7099dd67a857ed52c815a6192b6b1f5ba6b516237fc24a085341340593d"; + }; + + propagatedBuildInputs = [ enum34 hpack hyperframe ]; + + checkInputs = [ pytestCheckHook hypothesis ]; + + meta = with stdenv.lib; { + description = "HTTP/2 State-Machine based protocol implementation"; + homepage = "http://hyper.rtfd.org/"; + license = licenses.mit; + }; +} |