lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 43 lines 1.0 kB view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 nix-update-script, 6 versionCheckHook, 7}: 8 9buildGoModule (finalAttrs: { 10 pname = "opnborg"; 11 version = "0.1.74"; 12 13 src = fetchFromGitHub { 14 owner = "paepckehh"; 15 repo = "opnborg"; 16 tag = "v${finalAttrs.version}"; 17 hash = "sha256-hTI4PwYCOu5vamea7T5Run5hZKLv7VYusBYYyM21ZOs="; 18 }; 19 20 vendorHash = "sha256-kRJ0Q4qSImQxTbILGTRYt7s2TLlhoUOPc1f1QS9hSQE="; 21 22 ldflags = [ 23 "-s" 24 "-w" 25 ]; 26 27 passthru.updateScript = nix-update-script { }; 28 29 nativeInstallCheckInputs = [ versionCheckHook ]; 30 31 doInstallCheck = true; 32 versionCheckProgram = "${placeholder "out"}/bin/opnborg"; 33 versionCheckProgramArg = "--version"; 34 35 meta = { 36 changelog = "https://github.com/paepckehh/opnborg/releases/tag/v${finalAttrs.version}"; 37 homepage = "https://paepcke.de/opnborg"; 38 description = "Sefhosted OPNSense Appliance Backup & Configuration Management Portal"; 39 license = lib.licenses.bsd3; 40 mainProgram = "opnborg"; 41 maintainers = with lib.maintainers; [ paepcke ]; 42 }; 43})