about summary refs log tree commit diff
path: root/pkgs/servers/nats-streaming-server
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-03-12 20:02:55 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-03-12 20:02:55 +0100
commitcb10f1ecd8c9e26961baa203936d9818882d3cb8 (patch)
treeda6e881f87ac0b100a44bd0d16f724f59289af6e /pkgs/servers/nats-streaming-server
parentcca8f150df59dfbb812022958e9698e17f0f28f8 (diff)
nats-streaming-server: 0.23.0 -> 0.24.0
Fixes: CVE-2022-26652
Diffstat (limited to 'pkgs/servers/nats-streaming-server')
-rw-r--r--pkgs/servers/nats-streaming-server/default.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/servers/nats-streaming-server/default.nix b/pkgs/servers/nats-streaming-server/default.nix
index 4d6fdbda636d1..247f9d8400706 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;