25 lines
613 B
Nix
25 lines
613 B
Nix
|
{ lib, pkgs, fetchFromGitHub, buildGoModule, stdenv, ...}:
|
||
|
|
||
|
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;
|
||
|
maintainers = with maintainers; [ thehedgeh0g ];
|
||
|
};
|
||
|
}
|