Skip to content

Commit

Permalink
coroot-node-agent: init at 1.21.9
Browse files Browse the repository at this point in the history
  • Loading branch information
errnoh committed Oct 30, 2024
1 parent 84c4ab9 commit 9430000
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 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,33 @@
{
lib,
buildGoModule,
fetchFromGitHub,
systemdLibs,
}:

buildGoModule rec {
pname = "coroot-node-agent";
version = "1.21.9";

src = fetchFromGitHub {
owner = "coroot";
repo = "coroot-node-agent";
rev = "v${version}";
hash = "sha256-gnGYZtH/WGhGL6ehwiu6cHc4scG9mrRcfVzRaijLrWU=";
};

vendorHash = "sha256-OZj3t8eFDbk2zZ+zGlgV8o9VC4/vYalIEm2dhD2JwK8=";

nativeBuildInputs = [ ];
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 9430000

Please sign in to comment.