komari-agent: init at 1.1.40 (#467090)

This commit is contained in:
Sandro
2025-12-11 00:18:01 +00:00
committed by GitHub
2 changed files with 46 additions and 0 deletions
+5
View File
@@ -17401,6 +17401,11 @@
github = "mlvzk";
githubId = 44906333;
};
mlyxshi = {
name = "mlyxshi";
github = "mlyxshi";
githubId = 16594754;
};
mmahut = {
email = "marek.mahut@gmail.com";
github = "mmahut";
+41
View File
@@ -0,0 +1,41 @@
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule (finalAttrs: {
pname = "komari-agent";
version = "1.1.40";
src = fetchFromGitHub {
owner = "komari-monitor";
repo = "komari-agent";
tag = "${finalAttrs.version}";
hash = "sha256-aWCsaiYkpj0D9hr7V3pxSk14pMD2E117vwemt9Ckqv0=";
};
vendorHash = "sha256-5RL/dDR/Or9GRCPVQmUYKTV82q7xuN2Mqc4/86WmbqY=";
ldflags = [
"-s"
"-w"
"-X github.com/komari-monitor/komari-agent/update.CurrentVersion=${finalAttrs.version}"
];
# tests require network access
doCheck = false;
passthru.updateScript = nix-update-script { };
meta = {
homepage = "https://github.com/komari-monitor/komari-agent";
description = "Lightweight server probe for simple, efficient monitoring";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
mlyxshi
];
mainProgram = "komari-agent";
};
})