2022-10-05 22:17:21 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
fetchFromGitHub,
|
|
|
|
buildGoModule,
|
|
|
|
stdenv,
|
|
|
|
...
|
|
|
|
}:
|
2022-07-28 21:50:36 +00:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "xcaddy";
|
|
|
|
version = "0.3.0";
|
|
|
|
proxyVendor = true;
|
|
|
|
subPackages = ["cmd/xcaddy"];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "caddyserver";
|
|
|
|
repo = "xcaddy";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-kB2WyHaln/arvISzVjcgPLHIUC/dCzL9Ub8aEl2xL2c=";
|
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = "sha256-6ZAMRe9MsCuShXCIKEYtItqLM8bKlIf0m70RsNYPG10=";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://caddyserver.com";
|
|
|
|
description = "Caddy build tool";
|
|
|
|
license = licenses.asl20;
|
2022-10-05 22:17:21 +00:00
|
|
|
maintainers = with maintainers; [thehedgeh0g];
|
2022-07-28 21:50:36 +00:00
|
|
|
};
|
|
|
|
}
|