From 2b591c18e82b8807c69bfaefe0c9d5e514f79bbf Mon Sep 17 00:00:00 2001 From: "PAEPCKE, Michael" Date: Sat, 19 Oct 2024 10:49:37 +0000 Subject: [PATCH] opnborg: init at v0.1.2 --- pkgs/by-name/op/opnborg/package.nix | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pkgs/by-name/op/opnborg/package.nix diff --git a/pkgs/by-name/op/opnborg/package.nix b/pkgs/by-name/op/opnborg/package.nix new file mode 100644 index 000000000000..8c8d167dfa39 --- /dev/null +++ b/pkgs/by-name/op/opnborg/package.nix @@ -0,0 +1,32 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: +buildGoModule rec { + pname = "opnborg"; + version = "0.1.2"; + + src = fetchFromGitHub { + owner = "paepckehh"; + repo = "opnborg"; + rev = "v${version}"; + hash = "sha256-R8yl7dI+VNeY1OVoBo+CN88+2eSePjlzet/Zowj0cQs="; + }; + + vendorHash = "sha256-REXJryUcu+/AdVx1aK0nJ98Wq/EdhrZqL24kC1wK6mc="; + + ldflags = [ + "-s" + "-w" + ]; + + meta = { + changelog = "https://github.com/paepckehh/opnborg/releases/tag/v${version}"; + homepage = "https://paepcke.de/opnborg"; + description = "Sefhosted OPNSense Appliance Backup & Configuration Management Portal"; + license = lib.licenses.bsd3; + mainProgram = "opnborg"; + maintainers = with lib.maintainers; [ paepcke ]; + }; +}