caddy: 2.1.1 -> 2.2.0

https://github.com/caddyserver/caddy/releases/tag/v2.2.0
This commit is contained in:
zowoq 2020-09-25 09:06:45 +10:00
parent 020ff6989a
commit 60fcc12970
2 changed files with 11 additions and 6 deletions

View file

@ -1,8 +1,8 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, nixosTests }:
buildGoModule rec {
pname = "caddy";
version = "2.1.1";
version = "2.2.0";
subPackages = [ "cmd/caddy" ];
@ -10,10 +10,12 @@ buildGoModule rec {
owner = "caddyserver";
repo = pname;
rev = "v${version}";
sha256 = "0c682zrivkawsxlps5hlx8js5zp4ddahg0zi5cr0861gnllbdll0";
sha256 = "086zgbwb3v11gik2w024p7m7ywkzn0w27y6hrngd4rxylj7jq7c8";
};
vendorSha256 = "0jzx00c2b8y7zwl73r2fh1826spcd15y39nfzr53s5lay3fvkybc";
vendorSha256 = "1rm7v03v6rf9fdqrrl639z8a46cdzswjp8rdpygcsndqfznn5w7b";
passthru.tests = { inherit (nixosTests) caddy; };
meta = with stdenv.lib; {
homepage = "https://caddyserver.com";

View file

@ -1526,8 +1526,11 @@ in
'';
});
caddy = callPackage ../servers/caddy { buildGoModule = buildGo114Module; }; # https://github.com/lucas-clemente/quic-go/issues/2614
caddy1 = callPackage ../servers/caddy/v1.nix { buildGoModule = buildGo114Module; };
caddy = callPackage ../servers/caddy { };
caddy1 = callPackage ../servers/caddy/v1.nix {
# https://github.com/lucas-clemente/quic-go/issues/2614
buildGoModule = buildGo114Module;
};
# Traefik 2.2 uses go1.14, pinning can be removed with 2.3
# https://github.com/containous/traefik/issues/7234#issuecomment-684950612