···89buildGoModule rec {
10 pname = "nsc";
11- version = "2.11.1";
1213 src = fetchFromGitHub {
14 owner = "nats-io";
15 repo = "nsc";
16 rev = "v${version}";
17- hash = "sha256-9HHrAT4LKVLb2+IDmXoPRtOKo1DRFznAbxJZp/B1uRY=";
18 };
1920 ldflags = [
···24 "-X main.builtBy=nixpkgs"
25 ];
2627- vendorHash = "sha256-sTaiaLJyokasaf1Mbaz4RkgspTd3VphZat8Bavg/Y9A=";
2829 nativeBuildInputs = [ installShellFiles ];
30···47 # the test strips table formatting from the command output in a naive way
48 # that removes all the table characters, including '-'.
49 # The nix build directory looks something like:
50- # /private/tmp/nix-build-nsc-2.11.1.drv-0/nsc_test2000598938/keys
51 # Then the `-` are removed from the path unintentionally and the test fails.
52 # This should be fixed upstream to avoid mangling the path when
53 # removing the table decorations from the command output.
···89buildGoModule rec {
10 pname = "nsc";
11+ version = "2.12.0";
1213 src = fetchFromGitHub {
14 owner = "nats-io";
15 repo = "nsc";
16 rev = "v${version}";
17+ hash = "sha256-ct2InMPpqbtFeKtarWXGuPiXS2OD78w2sX0BoFiCl0c=";
18 };
1920 ldflags = [
···24 "-X main.builtBy=nixpkgs"
25 ];
2627+ vendorHash = "sha256-0tJHK999AjtKYUB0gC5SlQPqit6UTyGsbb6vC7KdQQc=";
2829 nativeBuildInputs = [ installShellFiles ];
30···47 # the test strips table formatting from the command output in a naive way
48 # that removes all the table characters, including '-'.
49 # The nix build directory looks something like:
50+ # /private/tmp/nix-build-nsc-2.12.0.drv-0/nsc_test2000598938/keys
51 # Then the `-` are removed from the path unintentionally and the test fails.
52 # This should be fixed upstream to avoid mangling the path when
53 # removing the table decorations from the command output.