2016-09-08 14:30:20 +01:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "telegraf-${version}";
|
2017-05-16 06:46:32 +01:00
|
|
|
version = "1.3.0";
|
2016-09-08 14:30:20 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/influxdata/telegraf";
|
|
|
|
|
|
|
|
excludedPackages = "test";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "influxdata";
|
|
|
|
repo = "telegraf";
|
|
|
|
rev = "${version}";
|
2017-05-16 06:46:32 +01:00
|
|
|
sha256 = "0vcv4ylqzp4fvmpd3n5m0n2kxx39fcp9x62ny7cja4wraq36mdn0";
|
2016-09-08 14:30:20 +01:00
|
|
|
};
|
|
|
|
|
2016-09-16 00:24:11 +01:00
|
|
|
goDeps = ./. + builtins.toPath "/deps-${version}.nix";
|
2016-09-08 14:30:20 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The plugin-driven server agent for collecting & reporting metrics.";
|
|
|
|
license = licenses.mit;
|
|
|
|
homepage = https://www.influxdata.com/time-series-platform/telegraf/;
|
|
|
|
maintainers = with maintainers; [ mic92 roblabla ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|