1 { lib, buildGoModule, fetchFromGitHub }:
5 src = fetchFromGitHub {
9 hash = "sha256-SDtI7CvCeuRL1cXNsWGCl/zupVbgMxv5bzYYqJWTrMw=";
13 pname = "prometheus-frr-exporter";
14 vendorHash = "sha256-G+S4XORrg0AEKoAqYdmg+uW6x0Ub5diQTyQGY0iebHg=";
18 "-X github.com/prometheus/common/version.Version=${version}"
19 "-X github.com/prometheus/common/version.Revision=${src.rev}"
20 "-X github.com/prometheus/common/version.Branch=unknown"
24 description = "Prometheus exporter for FRR version 3.0+";
26 Prometheus exporter for FRR version 3.0+ that collects metrics from the
27 FRR Unix sockets and exposes them via HTTP, ready for collecting by
30 homepage = "https://github.com/tynany/frr_exporter";
31 license = licenses.mit;
32 maintainers = with maintainers; [ javaes ];
33 mainProgram = "frr_exporter";