blob: 6f9e78799a03e9c1448dec3678b96c2759d0ac24 (
plain) (
blame)
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
|
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
buildGoModule rec {
pname = "mikrotik-exporter-unstable";
version = "2021-08-10";
src = fetchFromGitHub {
owner = "nshttpd";
repo = "mikrotik-exporter";
sha256 = "1vqn1f159g0l76021gifbxpjf7zjhrj807qqqn51h5413lbi6r66";
rev = "4bfa7adfef500ff621a677adfab1f7010af920d1";
};
vendorSha256 = "0b244z3hly5726vwkr7vhdzzm2fi38cv1qh7nvfp3vpsxnii04md";
doCheck = false;
passthru.tests = { inherit (nixosTests.prometheus-exporters) mikrotik; };
meta = with lib; {
inherit (src.meta) homepage;
description = "Prometheus MikroTik device(s) exporter";
license = licenses.bsd3;
maintainers = with maintainers; [ mmilata ];
};
}
|