Skip to content

Commit

Permalink
coroot-node-agent: init at 1.22.2 (#346845)
Browse files Browse the repository at this point in the history
  • Loading branch information
FliegendeWurst authored Dec 20, 2024
2 parents e84636c + f543565 commit a064ed0
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pkgs/by-name/co/coroot-node-agent/package.nix
Original file line number Diff line number Diff line change
@@ -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";
};
}

0 comments on commit a064ed0

Please sign in to comment.