···8899buildGoModule rec {
1010 pname = "nsc";
1111- version = "2.11.1";
1111+ version = "2.12.0";
12121313 src = fetchFromGitHub {
1414 owner = "nats-io";
1515 repo = "nsc";
1616 rev = "v${version}";
1717- hash = "sha256-9HHrAT4LKVLb2+IDmXoPRtOKo1DRFznAbxJZp/B1uRY=";
1717+ hash = "sha256-ct2InMPpqbtFeKtarWXGuPiXS2OD78w2sX0BoFiCl0c=";
1818 };
19192020 ldflags = [
···2424 "-X main.builtBy=nixpkgs"
2525 ];
26262727- vendorHash = "sha256-sTaiaLJyokasaf1Mbaz4RkgspTd3VphZat8Bavg/Y9A=";
2727+ vendorHash = "sha256-0tJHK999AjtKYUB0gC5SlQPqit6UTyGsbb6vC7KdQQc=";
28282929 nativeBuildInputs = [ installShellFiles ];
3030···4747 # the test strips table formatting from the command output in a naive way
4848 # that removes all the table characters, including '-'.
4949 # The nix build directory looks something like:
5050- # /private/tmp/nix-build-nsc-2.11.1.drv-0/nsc_test2000598938/keys
5050+ # /private/tmp/nix-build-nsc-2.12.0.drv-0/nsc_test2000598938/keys
5151 # Then the `-` are removed from the path unintentionally and the test fails.
5252 # This should be fixed upstream to avoid mangling the path when
5353 # removing the table decorations from the command output.