Skip to content

Commit

Permalink
caddy: 2.1.1 -> 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zowoq committed Sep 24, 2020
1 parent 020ff69 commit 60fcc12
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
10 changes: 6 additions & 4 deletions pkgs/servers/caddy/default.nix
@@ -1,19 +1,21 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, nixosTests }:

buildGoModule rec {
pname = "caddy";
version = "2.1.1";
version = "2.2.0";

subPackages = [ "cmd/caddy" ];

src = fetchFromGitHub {
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";
Expand Down
7 changes: 5 additions & 2 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -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
Expand Down

0 comments on commit 60fcc12

Please sign in to comment.