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