telegraf: 1.15.2 -> 1.16.2

This commit is contained in:
Jörg Thalheim 2020-11-10 09:26:41 +01:00
parent 7534d92648
commit b696d7962f
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92

View File

@ -2,7 +2,7 @@
buildGoModule rec {
pname = "telegraf";
version = "1.15.2";
version = "1.16.2";
excludedPackages = "test";
@ -12,19 +12,10 @@ buildGoModule rec {
owner = "influxdata";
repo = "telegraf";
rev = "v${version}";
sha256 = "045wjpq29dr0s48ns3a4p8pw1j0ssfcw6m91iim4pkrppj7bm2di";
sha256 = "sha256-XdlXUwGn2isGn7SqCGaAjntposBEd6WbbdfN6dEycDI=";
};
patches = [
# https://github.com/influxdata/telegraf/pull/7988
# fix broken cgo vendoring
(fetchpatch {
url = "https://github.com/influxdata/telegraf/commit/63e1f41d8ff246d191d008ff7f69d69cc34b4fae.patch";
sha256 = "0ikifc4414bid3g6hhxz18cw71z63s5g805klx98vrndjlpbqkzw";
})
];
vendorSha256 = "0f95xigpkindd7dmci8kqpqq5dlirimbqh8ai73142asbrd5h4yr";
vendorSha256 = "02fqx817w6f9grfc69ri06a6qygbr5chan6w9waq2y0mxvmypz28";
buildFlagsArray = [ ''-ldflags=
-w -s -X main.version=${version}