Files
nixpkgs/pkgs/servers/monitoring/prometheus/junos-czerwonk-exporter.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
621 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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 ];
};
}