mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
caddy: 2.1.1 -> 2.2.0
https://github.com/caddyserver/caddy/releases/tag/v2.2.0
This commit is contained in:
parent
020ff6989a
commit
60fcc12970
@ -1,8 +1,8 @@
|
|||||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
{ stdenv, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "caddy";
|
pname = "caddy";
|
||||||
version = "2.1.1";
|
version = "2.2.0";
|
||||||
|
|
||||||
subPackages = [ "cmd/caddy" ];
|
subPackages = [ "cmd/caddy" ];
|
||||||
|
|
||||||
@ -10,10 +10,12 @@ buildGoModule rec {
|
|||||||
owner = "caddyserver";
|
owner = "caddyserver";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0c682zrivkawsxlps5hlx8js5zp4ddahg0zi5cr0861gnllbdll0";
|
sha256 = "086zgbwb3v11gik2w024p7m7ywkzn0w27y6hrngd4rxylj7jq7c8";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "0jzx00c2b8y7zwl73r2fh1826spcd15y39nfzr53s5lay3fvkybc";
|
vendorSha256 = "1rm7v03v6rf9fdqrrl639z8a46cdzswjp8rdpygcsndqfznn5w7b";
|
||||||
|
|
||||||
|
passthru.tests = { inherit (nixosTests) caddy; };
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://caddyserver.com";
|
homepage = "https://caddyserver.com";
|
||||||
|
@ -1526,8 +1526,11 @@ in
|
|||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
caddy = callPackage ../servers/caddy { buildGoModule = buildGo114Module; }; # https://github.com/lucas-clemente/quic-go/issues/2614
|
caddy = callPackage ../servers/caddy { };
|
||||||
caddy1 = callPackage ../servers/caddy/v1.nix { buildGoModule = buildGo114Module; };
|
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
|
# Traefik 2.2 uses go1.14, pinning can be removed with 2.3
|
||||||
# https://github.com/containous/traefik/issues/7234#issuecomment-684950612
|
# https://github.com/containous/traefik/issues/7234#issuecomment-684950612
|
||||||
|
Loading…
Reference in New Issue
Block a user