~aasg/nixexprs

ref: 5550f58e685f24c47d231549a47eaaf808c682b7 nixexprs/pkgs/servers/monitoring/prometheus/bird-exporter.nix -rw-r--r-- 695 bytes
5550f58e — Aluísio Augusto Silva Gonçalves Deprecate packages available in Nixpkgs 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "bird_exporter";
  version = "1.2.5";

  src = fetchFromGitHub {
    owner = "czerwonk";
    repo = pname;
    rev = version;
    hash = "sha256-qOj1RaYWO2XHZm+DaB1ajvUIYvdoJFIgHaulk3etNBs=";
  };
  vendorSha256 = "sha256-QELQFgviMCba6UJQKvdqoG1RVqTWgmqDfmntvrFrcpE=";

  doCheck = true;

  meta = with lib; {
    description = "Bird protocol state exporter for bird routing daemon to use with Prometheus";
    homepage = "https://github.com/czerwonk/bird_exporter";
    license = licenses.mit;
    maintainers = with maintainers; [ AluisioASG ];
    platforms = platforms.unix;
    hydraPlatforms = platforms.none;
  };
}