nixpkgs/pkgs/development/python-modules/h2/default.nix
2020-12-01 14:44:12 +01:00

21 lines
501 B
Nix

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