2024-10-19 04:49:37 -06:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
|
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "opnborg";
|
2024-10-27 06:41:28 -06:00
|
|
|
version = "0.1.24";
|
2024-10-19 04:49:37 -06:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "paepckehh";
|
|
|
|
repo = "opnborg";
|
|
|
|
rev = "v${version}";
|
2024-10-27 06:41:28 -06:00
|
|
|
hash = "sha256-lJPu1Ixx1BUWrZ+h6AuxLyVMScKAmcp+sK2duOxC9e0=";
|
2024-10-19 04:49:37 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|