From ed14b42efd1f6f44607e86ef83dd7bd5c8870a9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 13 Apr 2024 23:46:49 +0200 Subject: [PATCH] tailscalesd: init at 0.3.0 --- pkgs/by-name/ta/tailscalesd/package.nix | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pkgs/by-name/ta/tailscalesd/package.nix diff --git a/pkgs/by-name/ta/tailscalesd/package.nix b/pkgs/by-name/ta/tailscalesd/package.nix new file mode 100644 index 000000000000..1dbbdf09a9d8 --- /dev/null +++ b/pkgs/by-name/ta/tailscalesd/package.nix @@ -0,0 +1,28 @@ +{ + lib, + buildGoModule, + fetchFromGitHub +}: + +buildGoModule rec { + pname = "tailscalesd"; + version = "0.3.0"; + + src = fetchFromGitHub { + owner = "cfunkhouser"; + repo = "tailscalesd"; + rev = "v${version}"; + hash = "sha256-OcvLVsPtAIaGTxk5SKNme0+i0PsDc8uY/sDcM/L5yqU="; + }; + + vendorHash = "sha256-cBHAo2RL7Q6TJbv1QYrescMFwbSUnGlOmTqqt8CZ/qc="; + + meta = { + description = "Prometheus Service Discovery for Tailscale"; + changelog = "https://github.com/cfunkhouser/tailscalesd/releases/tag/v${version}"; + homepage = "https://github.com/cfunkhouser/tailscalesd"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ SuperSandro2000 ]; + mainProgram = "tailscalesd"; + }; +}