nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 1ac22671105a8e411fd213c45cf2732c1a00657a
parent 76e3f3d178fdf78a2e0633f11c556e5cca913c30
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Wed, 12 Feb 2025 12:38:49 +0400

Add wirefire

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/misc/wirefire/default.nix | 32++++++++++++++++++++++++++++++++
2 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -420,6 +420,7 @@ lib.makeScope newScope ( turbo = callPackage ./misc/turbo { }; tvision = callPackage ./misc/tvision { }; wik = callPackage ./misc/wik { }; + wirefire = callPackage ./misc/wirefire { }; #worm = callPackage ./misc/worm { }; wptools = callPackage ./misc/wptools { }; xfractint = callPackage ./misc/xfractint { }; diff --git a/pkgs/misc/wirefire/default.nix b/pkgs/misc/wirefire/default.nix @@ -0,0 +1,32 @@ +{ + lib, + fetchFromGitHub, + buildGoModule, +}: + +buildGoModule rec { + pname = "wirefire"; + version = "0-unstable-2024-11-08"; + + src = fetchFromGitHub { + owner = "riyaz-ali"; + repo = "wirefire"; + rev = "0eb8f9d860f402040a15483f9beb6df3a6215156"; + hash = "sha256-Z4C+99HLu/ecShkZ6YwUJpp7m4Sj5tftRG1cPF5K9Cg="; + }; + + vendorHash = "sha256-RRahISh6nPSDc+iCZ/EEb6Oa1vQAlhBwaxPc5eTRzHw="; + + ldflags = [ + "-s" + "-w" + ]; + + meta = { + description = "Lightweight, open-source implementation of Tailscale control server"; + homepage = "https://github.com/riyaz-ali/wirefire"; + license = lib.licenses.bsd3; + maintainers = [ lib.maintainers.sikmir ]; + mainProgram = "wirefire"; + }; +}