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

23 lines
577 B
Nix
Raw Normal View History

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