blob: d089a3877cd94743e024b521fd525394db63b165 (
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, buildGoPackage, fetchFromGitHub, nixosTests }:
buildGoPackage rec {
pname = "collectd-exporter";
version = "0.5.0";
rev = version;
goPackagePath = "github.com/prometheus/collectd_exporter";
src = fetchFromGitHub {
rev = "v${version}";
owner = "prometheus";
repo = "collectd_exporter";
sha256 = "0vb6vnd2j87iqxdl86j30dk65vrv4scprv200xb83203aprngqgh";
};
passthru.tests = { inherit (nixosTests.prometheus-exporters) collectd; };
meta = with lib; {
description = "Relay server for exporting metrics from collectd to Prometheus";
homepage = "https://github.com/prometheus/collectd_exporter";
license = licenses.asl20;
maintainers = with maintainers; [ benley fpletz ];
platforms = platforms.unix;
};
}
|