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

21 lines
501 B
Nix
Raw Normal View History

2017-11-02 16:33:38 -07:00
{ stdenv, buildPythonPackage, fetchPypi
, enum34, hpack, hyperframe }:
buildPythonPackage rec {
pname = "h2";
2020-11-29 06:04:30 -08:00
version = "4.0.0";
2017-11-02 16:33:38 -07:00
src = fetchPypi {
inherit pname version;
2020-11-29 06:04:30 -08:00
sha256 = "bb7ac7099dd67a857ed52c815a6192b6b1f5ba6b516237fc24a085341340593d";
2017-11-02 16:33:38 -07:00
};
propagatedBuildInputs = [ enum34 hpack hyperframe ];
meta = with stdenv.lib; {
description = "HTTP/2 State-Machine based protocol implementation";
homepage = "http://hyper.rtfd.org/";
license = licenses.mit;
};
}