mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
29 lines
623 B
Nix
29 lines
623 B
Nix
{ lib
|
|
, tailscale
|
|
, buildGo123Module
|
|
}:
|
|
|
|
buildGo123Module {
|
|
inherit (tailscale) version src vendorHash CGO_ENABLED;
|
|
pname = "tailscale-gitops-pusher";
|
|
|
|
subPackages = [
|
|
"cmd/gitops-pusher"
|
|
];
|
|
|
|
ldflags = [
|
|
"-w"
|
|
"-s"
|
|
"-X tailscale.com/version.longStamp=${tailscale.version}"
|
|
"-X tailscale.com/version.shortStamp=${tailscale.version}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://tailscale.com";
|
|
description = "Allows users to use a GitOps flow for managing Tailscale ACLs";
|
|
license = licenses.bsd3;
|
|
mainProgram = "gitops-pusher";
|
|
maintainers = teams.cyberus.members;
|
|
};
|
|
}
|