nix: init caddy-custom

This commit is contained in:
Primrose 2025-01-28 10:50:00 +01:00
parent 181337e20e
commit e492b2529c
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
5 changed files with 993 additions and 2 deletions

View file

@ -0,0 +1,23 @@
{
buildGoModule,
lib,
}:
buildGoModule {
name = "caddy";
src = ./caddy-src;
runVend = true;
vendorHash = "sha256-3MzJ2sf7u/1BoP1v+9m3Cb8fwNf/aNR/n5MzMcHPpiI=";
meta = {
homepage = "https://caddyserver.com";
description = "Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS";
license = lib.licenses.asl20;
mainProgram = "caddy";
maintainers = with lib.maintainers; [
Br1ght0ne
emilylange
techknowlogick
];
};
}