2020-03-27 08:33:21 +01:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2016-06-05 10:43:36 +02:00
|
|
|
|
2019-06-19 01:36:54 +02:00
|
|
|
buildGoModule rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "caddy";
|
2020-09-07 09:42:42 +02:00
|
|
|
version = "2.1.1";
|
2016-06-05 10:43:36 +02:00
|
|
|
|
2020-05-08 21:23:33 +02:00
|
|
|
subPackages = [ "cmd/caddy" ];
|
2016-08-14 19:55:52 +02:00
|
|
|
|
2016-08-21 17:08:33 +02:00
|
|
|
src = fetchFromGitHub {
|
2019-09-23 05:22:22 +02:00
|
|
|
owner = "caddyserver";
|
|
|
|
repo = pname;
|
2016-09-21 18:52:17 +02:00
|
|
|
rev = "v${version}";
|
2020-09-07 09:42:42 +02:00
|
|
|
sha256 = "0c682zrivkawsxlps5hlx8js5zp4ddahg0zi5cr0861gnllbdll0";
|
2016-06-05 10:43:36 +02:00
|
|
|
};
|
|
|
|
|
2020-09-07 09:42:42 +02:00
|
|
|
vendorSha256 = "0jzx00c2b8y7zwl73r2fh1826spcd15y39nfzr53s5lay3fvkybc";
|
2016-08-14 19:55:52 +02:00
|
|
|
|
2016-09-21 18:52:17 +02:00
|
|
|
meta = with stdenv.lib; {
|
2019-12-02 15:18:23 +01:00
|
|
|
homepage = "https://caddyserver.com";
|
2016-09-21 18:52:17 +02:00
|
|
|
description = "Fast, cross-platform HTTP/2 web server with automatic HTTPS";
|
|
|
|
license = licenses.asl20;
|
2020-05-08 21:23:33 +02:00
|
|
|
maintainers = with maintainers; [ filalex77 ];
|
2016-09-21 18:52:17 +02:00
|
|
|
};
|
2020-07-31 05:58:04 +02:00
|
|
|
}
|