b41113241d
GitOrigin-RevId: ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90
28 lines
636 B
Nix
28 lines
636 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "xcaddy";
|
|
version = "0.3.1";
|
|
|
|
subPackages = [ "cmd/xcaddy" ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "caddyserver";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-oGTtS5UlEebIqv4SM4q0YclASJNu8DNOLrGLRRAtkd8=";
|
|
};
|
|
|
|
patches = [
|
|
./use_tmpdir_on_darwin.diff
|
|
];
|
|
|
|
vendorHash = "sha256-RpbnoXyTrqGOI7DpgkO+J47P17T4QCVvM1CfS6kRO9Y=";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/caddyserver/xcaddy";
|
|
description = "Build Caddy with plugins";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ tjni ];
|
|
};
|
|
}
|