prometheus-mikrotik-exporter: init at 2020-02-10
This commit is contained in:
parent
5d4fba7f43
commit
ade67bd052
1 changed files with 22 additions and 0 deletions
22
pkgs/servers/monitoring/prometheus/mikrotik-exporter.nix
Normal file
22
pkgs/servers/monitoring/prometheus/mikrotik-exporter.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "mikrotik-exporter-unstable";
|
||||
version = "2020-02-10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nshttpd";
|
||||
repo = "mikrotik-exporter";
|
||||
sha256 = "193zh06rqp9ybsnkxwmv7l4p2h2xisw4f01jjirshsb784j44bh6";
|
||||
rev = "3b33400d24abcfdc07dc31c15ca5ba7b82de444f";
|
||||
};
|
||||
|
||||
modSha256 = "1cqjn6j3dfq51ssjx0qrajprlac1h0lb1r4af44lfpigzmrfyi07";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "Prometheus MikroTik device(s) exporter";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ mmilata ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue