1 { lib, buildGoModule, fetchFromGitHub, nixosTests }:
4 pname = "collectd-exporter";
7 src = fetchFromGitHub {
9 repo = "collectd_exporter";
11 sha256 = "sha256-8oibunEHPtNdbhVgF3CL6D/xE7bR8hee6+D2IJMzaqY=";
14 vendorHash = "sha256-fQO2fiotqv18xewXVyh6sA4zx5ZNUR6mCebYenryrKI=";
16 ldflags = [ "-s" "-w" ];
18 passthru.tests = { inherit (nixosTests.prometheus-exporters) collectd; };
21 description = "Relay server for exporting metrics from collectd to Prometheus";
22 mainProgram = "collectd_exporter";
23 homepage = "https://github.com/prometheus/collectd_exporter";
24 license = licenses.asl20;
25 maintainers = with maintainers; [ benley ];