caddy2: init at 2.0.0-beta10 (#74843)

Co-Authored-By: Konrad Borowski <konrad@borowski.pw>
This commit is contained in:
Oleksii Filonenko 2019-12-03 15:19:38 +02:00 committed by zimbatm
parent f0c0be44ad
commit 0ff31210bb
2 changed files with 26 additions and 0 deletions

25
pkgs/servers/caddy/v2.nix Normal file
View File

@ -0,0 +1,25 @@
{ stdenv, callPackage, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "caddy";
version = "2.0.0-beta10";
goPackagePath = "github.com/caddyserver/caddy";
subPackages = [ "cmd/caddy" ];
src = fetchFromGitHub {
owner = "caddyserver";
repo = pname;
rev = "v${version}";
sha256 = "1vagcw6ibri4nbx1n60xp7rffcfr64a2202hjaijyjzc8wcl80na";
};
modSha256 = "1sb8w6n84cpya2rjm0zm798kzf5vjpkr5440j1gfnnnr07jl2aqn";
meta = with stdenv.lib; {
homepage = "https://caddyserver.com";
description = "Fast, cross-platform HTTP/2 web server with automatic HTTPS";
license = licenses.asl20;
maintainers = with maintainers; [ filalex77 ];
};
}

View File

@ -1312,6 +1312,7 @@ in
});
caddy = callPackage ../servers/caddy { };
caddy2 = callPackage ../servers/caddy/v2.nix { };
traefik = callPackage ../servers/traefik { };
calamares = libsForQt5.callPackage ../tools/misc/calamares {