3
0
Fork 0
forked from mirrors/nixpkgs

caddy: 2.4.6 -> 2.5.0

This commit is contained in:
techknowlogick 2022-04-25 13:42:40 -04:00 committed by Yt
parent 786a609496
commit eb1bc95c2d

View file

@ -1,6 +1,6 @@
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
let
version = "2.4.6";
version = "2.5.0";
dist = fetchFromGitHub {
owner = "caddyserver";
repo = "dist";
@ -18,10 +18,10 @@ buildGoModule {
owner = "caddyserver";
repo = "caddy";
rev = "v${version}";
sha256 = "sha256-xNCxzoNpXkj8WF9+kYJfO18ux8/OhxygkGjA49+Q4vY=";
sha256 = "sha256-V9iIz/93n6EBJZ9v3MDKD6FivtplRFN9a/e0o7YX0/w=";
};
vendorSha256 = "sha256-NomgHqIiugSISbEtvIbJDn5GRn6Dn72adLPkAvLbUQU=";
vendorSha256 = "sha256-xu3klc9yb4Ws8fvXRV286IDhi/zQVN1PKCiFKb8VJBo=";
postInstall = ''
install -Dm644 ${dist}/init/caddy.service ${dist}/init/caddy-api.service -t $out/lib/systemd/system
@ -36,6 +36,6 @@ buildGoModule {
homepage = "https://caddyserver.com";
description = "Fast, cross-platform HTTP/2 web server with automatic HTTPS";
license = licenses.asl20;
maintainers = with maintainers; [ Br1ght0ne ];
maintainers = with maintainers; [ Br1ght0ne techknowlogick ];
};
}