mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
opnborg: init at 0.1.2 (#349726)
This commit is contained in:
commit
b0cb49dd5d
32
pkgs/by-name/op/opnborg/package.nix
Normal file
32
pkgs/by-name/op/opnborg/package.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user