Merge pull request #113613 from r-ryantm/auto-update/telegraf

telegraf: 1.17.2 -> 1.17.3
This commit is contained in:
Jörg Thalheim 2021-02-21 22:28:17 +00:00 committed by GitHub
commit 3be322ca64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -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; };