nixpkgs-suyu/pkgs/development/python-modules/h2/default.nix
2020-05-09 07:25:08 +00:00

20 lines
489 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, enum34, hpack, hyperframe }:
buildPythonPackage rec {
pname = "h2";
version = "3.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "051gg30aca26rdxsmr9svwqm06pdz9bv21ch4n0lgi7jsvml2pw7";
};
propagatedBuildInputs = [ enum34 hpack hyperframe ];
meta = with stdenv.lib; {
description = "HTTP/2 State-Machine based protocol implementation";
homepage = "http://hyper.rtfd.org/";
license = licenses.mit;
};
}