mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-23 09:00:51 +00:00
coroot-node-agent: init at 1.22.2 (#346845)
This commit is contained in:
32
pkgs/by-name/co/coroot-node-agent/package.nix
Normal file
32
pkgs/by-name/co/coroot-node-agent/package.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user