Loading pkgs/servers/monitoring/telegraf/default.nix +19 −4 Original line number Diff line number Diff line { lib, buildGoModule, fetchFromGitHub, nixosTests }: { lib , buildGoModule , fetchFromGitHub , nixosTests , testers , telegraf }: buildGoModule rec { pname = "telegraf"; Loading @@ -19,15 +25,24 @@ buildGoModule rec { proxyVendor = true; ldflags = [ "-w" "-s" "-X main.version=${version}" "-s" "-w" "-X=github.com/influxdata/telegraf/internal.Commit=${src.rev}" "-X=github.com/influxdata/telegraf/internal.Version=${version}" ]; passthru.tests = { inherit (nixosTests) telegraf; }; passthru.tests = { inherit (nixosTests) telegraf; version = testers.testVersion { package = telegraf; }; }; 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/"; changelog = "https://github.com/influxdata/telegraf/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ mic92 roblabla timstott ]; }; } Loading
pkgs/servers/monitoring/telegraf/default.nix +19 −4 Original line number Diff line number Diff line { lib, buildGoModule, fetchFromGitHub, nixosTests }: { lib , buildGoModule , fetchFromGitHub , nixosTests , testers , telegraf }: buildGoModule rec { pname = "telegraf"; Loading @@ -19,15 +25,24 @@ buildGoModule rec { proxyVendor = true; ldflags = [ "-w" "-s" "-X main.version=${version}" "-s" "-w" "-X=github.com/influxdata/telegraf/internal.Commit=${src.rev}" "-X=github.com/influxdata/telegraf/internal.Version=${version}" ]; passthru.tests = { inherit (nixosTests) telegraf; }; passthru.tests = { inherit (nixosTests) telegraf; version = testers.testVersion { package = telegraf; }; }; 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/"; changelog = "https://github.com/influxdata/telegraf/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ mic92 roblabla timstott ]; }; }