2020-05-03 21:53:21 +01:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2019-12-03 13:19:38 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "caddy";
|
2020-07-29 10:20:00 +01:00
|
|
|
version = "2.1.1";
|
2019-12-03 13:19:38 +00:00
|
|
|
|
|
|
|
subPackages = [ "cmd/caddy" ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "caddyserver";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-07-29 10:20:00 +01:00
|
|
|
sha256 = "0c682zrivkawsxlps5hlx8js5zp4ddahg0zi5cr0861gnllbdll0";
|
2019-12-03 13:19:38 +00:00
|
|
|
};
|
2020-07-29 10:20:00 +01:00
|
|
|
|
|
|
|
vendorSha256 = "0jzx00c2b8y7zwl73r2fh1826spcd15y39nfzr53s5lay3fvkybc";
|
2019-12-03 13:19:38 +00:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|