2020-03-27 08:33:21 +01:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2020-03-05 13:44:55 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "mikrotik-exporter-unstable";
|
|
|
|
version = "2020-02-10";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nshttpd";
|
|
|
|
repo = "mikrotik-exporter";
|
|
|
|
sha256 = "193zh06rqp9ybsnkxwmv7l4p2h2xisw4f01jjirshsb784j44bh6";
|
|
|
|
rev = "3b33400d24abcfdc07dc31c15ca5ba7b82de444f";
|
|
|
|
};
|
|
|
|
|
2020-05-01 03:59:00 +02:00
|
|
|
vendorSha256 = "0i5x4d3ra0s41knmybbg8gnjxgraxkid6y3gfkjwa65xcbp7hr7q";
|
2020-03-05 13:44:55 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Prometheus MikroTik device(s) exporter";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ mmilata ];
|
|
|
|
};
|
2020-05-01 03:59:00 +02:00
|
|
|
}
|