depot/third_party/nixpkgs/pkgs/development/python-modules/h2/default.nix

21 lines
489 B
Nix
Raw Normal View History

{ 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;
};
}