2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildGoModule, fetchFromGitHub, nixosTests }:
|
2021-01-01 04:43:59 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "bird-exporter";
|
|
|
|
version = "1.3.5-git";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "czerwonk";
|
|
|
|
repo = "bird_exporter";
|
|
|
|
rev = "019fc09804625658d452a8e043cc16559c3b5b84";
|
|
|
|
sha256 = "1iym46368k8zzy4djx511m926dg8x5mg3xi91f65sknqv26zfggb";
|
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = null;
|
|
|
|
|
|
|
|
passthru.tests = { inherit (nixosTests.prometheus-exporters) bird; };
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2021-01-01 04:43:59 +00:00
|
|
|
description = "Prometheus exporter for the bird routing daemon";
|
|
|
|
homepage = "https://github.com/czerwonk/bird_exporter";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ lukegb ];
|
|
|
|
};
|
|
|
|
}
|