forked from mirrors/nixpkgs
simplehttp2server: init at 3.1.3
This commit is contained in:
parent
fc95437ebd
commit
4eb5711706
25
pkgs/servers/simplehttp2server/default.nix
Normal file
25
pkgs/servers/simplehttp2server/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
|
||||
}
|
12
pkgs/servers/simplehttp2server/deps.nix
Normal file
12
pkgs/servers/simplehttp2server/deps.nix
Normal file
|
@ -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";
|
||||
};
|
||||
}
|
||||
]
|
|
@ -20623,4 +20623,6 @@ with pkgs;
|
|||
tlwg = callPackage ../data/fonts/tlwg { };
|
||||
|
||||
safeDiscardStringContext = callPackage ../build-support/safe-discard-string-context.nix { };
|
||||
|
||||
simplehttp2server = callPackage ../servers/simplehttp2server { };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue