package.nix (735B)
1 { 2 lib, 3 fetchFromGitHub, 4 buildGoModule, 5 }: 6 7 buildGoModule { 8 pname = "wirefire"; 9 version = "0-unstable-2024-11-08"; 10 11 __structuredAttrs = true; 12 13 src = fetchFromGitHub { 14 owner = "riyaz-ali"; 15 repo = "wirefire"; 16 rev = "0eb8f9d860f402040a15483f9beb6df3a6215156"; 17 hash = "sha256-Z4C+99HLu/ecShkZ6YwUJpp7m4Sj5tftRG1cPF5K9Cg="; 18 }; 19 20 vendorHash = "sha256-RRahISh6nPSDc+iCZ/EEb6Oa1vQAlhBwaxPc5eTRzHw="; 21 22 ldflags = [ 23 "-s" 24 "-w" 25 ]; 26 27 meta = { 28 description = "Lightweight, open-source implementation of Tailscale control server"; 29 homepage = "https://github.com/riyaz-ali/wirefire"; 30 license = lib.licenses.bsd3; 31 maintainers = [ lib.maintainers.sikmir ]; 32 mainProgram = "wirefire"; 33 }; 34 }
