From cb10f1ecd8c9e26961baa203936d9818882d3cb8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 12 Mar 2022 20:02:55 +0100 Subject: [PATCH] nats-streaming-server: 0.23.0 -> 0.24.0 Fixes: CVE-2022-26652 --- pkgs/servers/nats-streaming-server/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/servers/nats-streaming-server/default.nix b/pkgs/servers/nats-streaming-server/default.nix index 4d6fdbda636d..247f9d840070 100644 --- a/pkgs/servers/nats-streaming-server/default.nix +++ b/pkgs/servers/nats-streaming-server/default.nix @@ -1,19 +1,23 @@ -{ buildGoPackage, fetchFromGitHub, lib }: +{ buildGoModule, fetchFromGitHub, lib }: with lib; -buildGoPackage rec { +buildGoModule rec { pname = "nats-streaming-server"; - version = "0.23.0"; - goPackagePath = "github.com/nats-io/${pname}"; + version = "0.24.3"; src = fetchFromGitHub { rev = "v${version}"; owner = "nats-io"; repo = pname; - sha256 = "sha256-Uol1A4+0V4dUQ7Qw0qRUWHzFBugVDYSulDGTJZ4a+ts="; + sha256 = "sha256-vpDOiFuxLpqor+9SztdZrJvwC8QGwt5+df4R2OTcxlA="; }; + vendorSha256 = "sha256:1m783cq20xlv5aglf252g5127r5ilfq4fqj00vim38v271511hmy"; + + # tests fail and ask to `go install` + doCheck = false; + meta = { description = "NATS Streaming System Server"; license = licenses.asl20;