coroot-node-agent: init at 1.22.2 (#346845)

This commit is contained in:
Arne Keller
2024-12-20 13:10:27 +01:00
committed by GitHub

View File

@@ -0,0 +1,32 @@
{
lib,
buildGoModule,
fetchFromGitHub,
systemdLibs,
}:
buildGoModule rec {
pname = "coroot-node-agent";
version = "1.22.2";
src = fetchFromGitHub {
owner = "coroot";
repo = "coroot-node-agent";
rev = "v${version}";
hash = "sha256-b9JI0q6CF4D+sdfuwTkouAwJF/ghJByzsQBehwXttoU=";
};
vendorHash = "sha256-OZj3t8eFDbk2zZ+zGlgV8o9VC4/vYalIEm2dhD2JwK8=";
buildInputs = [ systemdLibs ];
CGO_CFLAGS = "-I ${systemdLibs}/include";
meta = {
description = "Prometheus exporter based on eBPF";
homepage = "https://github.com/coroot/coroot-node-agent";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ errnoh ];
mainProgram = "coroot-node-agent";
};
}