diff options
author | Yurii Rashkovskii <yrashk@gmail.com> | 2018-02-17 06:35:35 +0700 |
---|---|---|
committer | Yurii Rashkovskii <yrashk@gmail.com> | 2018-02-17 06:35:35 +0700 |
commit | 4eb5711706980004f8ef4188effde83dcb831264 (patch) | |
tree | 7799c06f3c4b7f54fde806111993a22722c149bb /pkgs/servers/simplehttp2server | |
parent | fc95437ebd0794bac3bc936e998543b005559092 (diff) |
simplehttp2server: init at 3.1.3
Diffstat (limited to 'pkgs/servers/simplehttp2server')
-rw-r--r-- | pkgs/servers/simplehttp2server/default.nix | 25 | ||||
-rw-r--r-- | pkgs/servers/simplehttp2server/deps.nix | 12 |
2 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/servers/simplehttp2server/default.nix b/pkgs/servers/simplehttp2server/default.nix new file mode 100644 index 0000000000000..083a224d15582 --- /dev/null +++ b/pkgs/servers/simplehttp2server/default.nix @@ -0,0 +1,25 @@ +{ stdenv, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + name = "simplehttp2server-${version}"; + version = "3.1.3"; + + goPackagePath = "github.com/GoogleChromeLabs/simplehttp2server"; + + src = fetchFromGitHub { + owner = "GoogleChromeLabs"; + repo = "simplehttp2server"; + rev = version; + sha256 = "113mcfvy1m91wask5039mhr0187nlw325ac32785yl4bb4igi8aw"; + }; + + goDeps = ./deps.nix; + + meta = with stdenv.lib; { + homepage = https://github.com/GoogleChromeLabs/simplehttp2server; + description = "HTTP/2 server for development purposes"; + license = licenses.asl20; + maintainers = with maintainers; [ yrashk ]; + }; + +} diff --git a/pkgs/servers/simplehttp2server/deps.nix b/pkgs/servers/simplehttp2server/deps.nix new file mode 100644 index 0000000000000..e6a26bf2506c7 --- /dev/null +++ b/pkgs/servers/simplehttp2server/deps.nix @@ -0,0 +1,12 @@ +# This file was generated by https://github.com/kamilchm/go2nix v1.2.1 +[ + { + goPackagePath = "github.com/NYTimes/gziphandler"; + fetch = { + type = "git"; + url = "https://github.com/NYTimes/gziphandler"; + rev = "289a3b81f5aedc99f8d6eb0f67827c142f1310d8"; + sha256 = "1r9ly9wdqjcc4nwv71mfldf1f5cjm4r34vvkdm5wabmdqqqwkbyx"; + }; + } +] |