mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
56c20d3014
It seems it was wrong since the latest update.
28 lines
740 B
Nix
28 lines
740 B
Nix
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "telegraf-${version}";
|
|
version = "1.1.1";
|
|
|
|
goPackagePath = "github.com/influxdata/telegraf";
|
|
|
|
excludedPackages = "test";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "influxdata";
|
|
repo = "telegraf";
|
|
rev = "${version}";
|
|
sha256 = "0i3bmfs54s6m8im5gjm5ccyz31gpvp9cghxjxj46l0g77ncij7dj";
|
|
};
|
|
|
|
goDeps = ./. + builtins.toPath "/deps-${version}.nix";
|
|
|
|
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;
|
|
};
|
|
}
|