git.iko.soy/typeable/nixpkgs
on master help sign in
simplehttp2server: init at 3.1.3
commit4eb5711706980004f8ef4188effde83dcb831264 authorYurii Rashkovskii <yrashk@gmail.com> dateSat 17 Feb 2018, 06:35 (9 years ago) parentfc95437
3 files changed+39
pkgs/servers/simplehttp2server/default.nix+25 pkgs/servers/simplehttp2server/deps.nix+12 pkgs/top-level/all-packages.nix+2
pkgs/servers/simplehttp2server/default.nixnew file+25
@@ -0,0 +1,25 @@
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+}
pkgs/servers/simplehttp2server/deps.nixnew file+12
@@ -0,0 +1,12 @@
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+]
pkgs/top-level/all-packages.nix+2
@@ -20623,4 +20623,6 @@ with pkgs;
2062320623 tlwg = callPackage ../data/fonts/tlwg { };
2062420624
2062520625 safeDiscardStringContext = callPackage ../build-support/safe-discard-string-context.nix { };
20626+
20627+ simplehttp2server = callPackage ../servers/simplehttp2server { };
2062620628}