telegraf: 1.17.2 -> 1.17.3

This commit is contained in:
R. RyanTM 2021-02-18 17:01:15 +00:00 committed by Jörg Thalheim
parent afcea01614
commit 41c93481cc
No known key found for this signature in database
GPG Key ID: B3F5D81B0C6967C4

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