Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 20 lines 489 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, enum34, hpack, hyperframe }: 3 4buildPythonPackage rec { 5 pname = "h2"; 6 version = "3.1.1"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "1d1svhixk3hr78ph3nx8wi7sagx1xrvm712mmk028i2rhb92p8xq"; 11 }; 12 13 propagatedBuildInputs = [ enum34 hpack hyperframe ]; 14 15 meta = with stdenv.lib; { 16 description = "HTTP/2 State-Machine based protocol implementation"; 17 homepage = "http://hyper.rtfd.org/"; 18 license = licenses.mit; 19 }; 20}