mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
tailscale-gitops-pusher: init at 1.68.0
This commit is contained in:
parent
88af533d8a
commit
bf2a2ed403
28
pkgs/by-name/ta/tailscale-gitops-pusher/package.nix
Normal file
28
pkgs/by-name/ta/tailscale-gitops-pusher/package.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ lib
|
||||
, tailscale
|
||||
, buildGoModule
|
||||
}:
|
||||
|
||||
buildGoModule {
|
||||
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 = with maintainers; [ xanderio ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user