This commit is contained in:
illustris
2026-03-11 15:01:20 +05:30
commit d8f4a77657
30 changed files with 3164 additions and 0 deletions

17
default.nix Normal file
View File

@@ -0,0 +1,17 @@
{
lib,
buildGoModule,
...
}:
buildGoModule rec {
pname = "pve-local-exporter";
version = "0.1.0";
src = ./src;
vendorHash = "sha256-f0f8tYmoI6DtuB/K4++gu9b2na/d0ECTaF2zvDijW58=";
ldflags = [
"-X=main.version=${version}"
];
env.CGO_ENABLED = 0;
meta.mainProgram = "pve_local_exporter";
}