Merge pull request #83470 from Mic92/telegraf
telegraf: 1.13.4 -> 1.14.0
This commit is contained in:
commit
28bce0c7dd
2 changed files with 8 additions and 1352 deletions
|
@ -1,8 +1,8 @@
|
|||
{ lib, buildGoPackage, fetchFromGitHub, nixosTests }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoModule rec {
|
||||
pname = "telegraf";
|
||||
version = "1.13.4";
|
||||
version = "1.14.0";
|
||||
|
||||
goPackagePath = "github.com/influxdata/telegraf";
|
||||
|
||||
|
@ -13,22 +13,22 @@ buildGoPackage rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "influxdata";
|
||||
repo = "telegraf";
|
||||
rev = version;
|
||||
sha256 = "031hq9dg87cqj4am7qkbgfan2s6bqc2hf48h0gnrv78hbz8icxa1";
|
||||
rev = "v${version}";
|
||||
sha256 = "062j4sm7im4iv5i9afr771724srvwwcqbhkyznlzncaz06mk1sn7";
|
||||
};
|
||||
|
||||
modSha256 = "1q7il1x1pfyz15z23cs0kk7zyacn6b3y28b1q52bqi30l1x8bdbp";
|
||||
|
||||
buildFlagsArray = [ ''-ldflags=
|
||||
-w -s -X main.version=${version}
|
||||
'' ];
|
||||
|
||||
passthru.tests = { inherit (nixosTests) telegraf; };
|
||||
|
||||
goDeps = ./deps.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/;
|
||||
homepage = "https://www.influxdata.com/time-series-platform/telegraf/";
|
||||
maintainers = with maintainers; [ mic92 roblabla foxit64 ];
|
||||
};
|
||||
}
|
||||
|
|
1344
pkgs/servers/monitoring/telegraf/deps.nix
generated
1344
pkgs/servers/monitoring/telegraf/deps.nix
generated
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue