blob: 956eab5941a5633d3e0407590bf1df5639933c66 (
plain)
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
26
27
28
29
|
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "nftables_exporter";
version = "0.1.1";
goPackagePath = "github.com/Intrinsec/nftables_exporter";
src = fetchFromGitHub {
owner = "Intrinsec";
repo = "nftables_exporter";
rev = "v${version}";
sha256 = "ckZxgT4eCJlia9L6omL3EJqgew49erY11dEAnsRECx4=";
};
vendorSha256 = null;
doCheck = true;
# passthru.tests = { inherit (nixosTests.prometheus-exporters) snmp; };
meta = with lib; {
description = "Nftables exporter for Prometheus";
homepage = "https://github.com/prometheus/snmp_exporter";
license = licenses.asl20;
maintainers = with maintainers; [ orbekk ];
platforms = platforms.unix;
};
}
|