Merge pull request #35062 from yrashk/simplehttp2server

simplehttp2server: init at 3.1.3

authored by Joachim F and committed by GitHub 94bc7fad e6b2f49d

+39
+25
pkgs/servers/simplehttp2server/default.nix
··· 1 + { stdenv, buildGoPackage, fetchFromGitHub }: 2 + 3 + buildGoPackage rec { 4 + name = "simplehttp2server-${version}"; 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 stdenv.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 + }
+12
pkgs/servers/simplehttp2server/deps.nix
··· 1 + # This file was generated by https://github.com/kamilchm/go2nix v1.2.1 2 + [ 3 + { 4 + goPackagePath = "github.com/NYTimes/gziphandler"; 5 + fetch = { 6 + type = "git"; 7 + url = "https://github.com/NYTimes/gziphandler"; 8 + rev = "289a3b81f5aedc99f8d6eb0f67827c142f1310d8"; 9 + sha256 = "1r9ly9wdqjcc4nwv71mfldf1f5cjm4r34vvkdm5wabmdqqqwkbyx"; 10 + }; 11 + } 12 + ]
+2
pkgs/top-level/all-packages.nix
··· 20623 20623 tlwg = callPackage ../data/fonts/tlwg { }; 20624 20624 20625 20625 safeDiscardStringContext = callPackage ../build-support/safe-discard-string-context.nix { }; 20626 + 20627 + simplehttp2server = callPackage ../servers/simplehttp2server { }; 20626 20628 }