Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
28 lines
621 B
Nix
28 lines
621 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "junos-czerwonk-exporter";
|
|
version = "0.14.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "czerwonk";
|
|
repo = "junos_exporter";
|
|
rev = version;
|
|
sha256 = "sha256-RCh81CHdFjJ6R/3wMons4v/xO+kvNa9ohnlWVGSkiyU=";
|
|
};
|
|
|
|
vendorHash = "sha256-zD5QkpyeqrmX0zGgdQg9yQQrX/+0Xz+Q04IzpO+Qc5Q=";
|
|
|
|
meta = with lib; {
|
|
description = "Exporter for metrics from devices running JunOS";
|
|
mainProgram = "junos_exporter";
|
|
homepage = "https://github.com/czerwonk/junos_exporter";
|
|
license = licenses.mit;
|
|
teams = [ teams.wdz ];
|
|
};
|
|
}
|