Merge pull request #113613 from r-ryantm/auto-update/telegraf
telegraf: 1.17.2 -> 1.17.3
This commit is contained in:
commit
3be322ca64
|
@ -1,8 +1,8 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub, nixosTests, fetchpatch }:
|
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "telegraf";
|
pname = "telegraf";
|
||||||
version = "1.17.2";
|
version = "1.17.3";
|
||||||
|
|
||||||
excludedPackages = "test";
|
excludedPackages = "test";
|
||||||
|
|
||||||
|
@ -12,14 +12,14 @@ buildGoModule rec {
|
||||||
owner = "influxdata";
|
owner = "influxdata";
|
||||||
repo = "telegraf";
|
repo = "telegraf";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-R0RYiVVS1ce2xabPBTEmOxBNlknP4iXkbVy412whrFw=";
|
sha256 = "sha256-DJvXGjh1FN6SHcfVUlbfoKgBD1ThaJMvKUqvIKCyzeI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-3cELah9i2rY563QQOYt7ke0HEUR1By74vTgl+UbOHwc=";
|
vendorSha256 = "sha256-UTdJT4cwRCqkn01YXB1KYc7hp1smpZFke9aAODd/2x0=";
|
||||||
|
|
||||||
buildFlagsArray = [ ''-ldflags=
|
preBuild = ''
|
||||||
-w -s -X main.version=${version}
|
buildFlagsArray+=("-ldflags=-w -s -X main.version=${version}")
|
||||||
'' ];
|
'';
|
||||||
|
|
||||||
passthru.tests = { inherit (nixosTests) telegraf; };
|
passthru.tests = { inherit (nixosTests) telegraf; };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue