2020-05-03 21:53:21 +01:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2019-12-03 13:19:38 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "caddy";
|
2020-05-04 18:13:49 +01:00
|
|
|
version = "2.0.0";
|
2019-12-03 13:19:38 +00:00
|
|
|
|
|
|
|
subPackages = [ "cmd/caddy" ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "caddyserver";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-05-04 18:13:49 +01:00
|
|
|
sha256 = "1c1frfx0qkprhf4var70cncvrw8s9gjag2hygndbd9055hb52bvv";
|
2019-12-03 13:19:38 +00:00
|
|
|
};
|
2020-05-01 02:59:00 +01:00
|
|
|
vendorSha256 = "004hpjxpp18f71vy5v5ky0g07a8d5xh5qwl5b4bbx34hpf8yxs81";
|
2019-12-03 13:19:38 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|