~aasg/nixexprs

ref: 4b5399b1f065b1ba2703e84ac96827ab9b47c5e7 nixexprs/pkgs/servers/monitoring/prometheus/bird-exporter.nix -rw-r--r-- 658 bytes
4b5399b1 — Aluísio Augusto Silva Gonçalves ci: Don't rely on `meta.platforms` being set 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
{ 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;
  };
}