2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2016-06-05 14:59:43 +02:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "collectd-exporter";
|
2016-07-18 20:25:35 +02:00
|
|
|
version = "0.3.1";
|
2016-06-05 14:59:43 +02:00
|
|
|
rev = version;
|
|
|
|
|
|
|
|
goPackagePath = "github.com/prometheus/collectd_exporter";
|
|
|
|
|
2016-06-06 12:26:56 +02:00
|
|
|
src= fetchFromGitHub {
|
2016-06-05 14:59:43 +02:00
|
|
|
inherit rev;
|
2016-06-06 12:26:56 +02:00
|
|
|
owner = "prometheus";
|
|
|
|
repo = "collectd_exporter";
|
2016-07-18 20:25:35 +02:00
|
|
|
sha256 = "1p0kb7c8g0r0sp5a6xrx8vnwbw14hhwlqzk4n2xx2y8pvnbivajz";
|
2016-06-05 14:59:43 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Relay server for exporting metrics from collectd to Prometheus";
|
2016-07-18 20:25:35 +02:00
|
|
|
homepage = https://github.com/prometheus/collectd_exporter;
|
2016-06-05 14:59:43 +02:00
|
|
|
license = licenses.asl20;
|
2016-12-01 01:37:37 +01:00
|
|
|
maintainers = with maintainers; [ benley fpletz ];
|
2016-06-05 14:59:43 +02:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|