Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildGoPackage, fetchFromGitHub }: 2 3buildGoPackage rec { 4 pname = "simplehttp2server"; 5 version = "3.1.3"; 6 7 goPackagePath = "github.com/GoogleChromeLabs/simplehttp2server"; 8 9 src = fetchFromGitHub { 10 owner = "GoogleChromeLabs"; 11 repo = "simplehttp2server"; 12 rev = version; 13 sha256 = "113mcfvy1m91wask5039mhr0187nlw325ac32785yl4bb4igi8aw"; 14 }; 15 16 goDeps = ./deps.nix; 17 18 meta = with lib; { 19 homepage = "https://github.com/GoogleChromeLabs/simplehttp2server"; 20 description = "HTTP/2 server for development purposes"; 21 license = licenses.asl20; 22 maintainers = with maintainers; [ yrashk ]; 23 }; 24 25}