Skip to content

Commit 2ea7851

Browse files
authored
jaq: 2.0.1 -> 2.1.0 (#373771)
2 parents be96678 + ee9e485 commit 2ea7851

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

pkgs/by-name/ja/jaq/package.nix

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
lib,
3-
stdenv,
43
rustPlatform,
54
fetchFromGitHub,
65
versionCheckHook,
@@ -9,23 +8,16 @@
98

109
rustPlatform.buildRustPackage rec {
1110
pname = "jaq";
12-
version = "2.0.1";
11+
version = "2.1.0";
1312

1413
src = fetchFromGitHub {
1514
owner = "01mf02";
1615
repo = "jaq";
1716
tag = "v${version}";
18-
hash = "sha256-S8ELxUKU8g8+6HpM+DxINEqMDha7SgesDymhCb7T9bg=";
17+
hash = "sha256-J+48TWGio6KplqYFJM25LGIuf+yAyE7NMqgPUPgpTeY=";
1918
};
2019

21-
cargoHash = "sha256-i3AxIlRY6r0zrMmZVh1l9fPiR652xjhTcwCyHCHCrL8=";
22-
23-
# This very line fails on `x86_64-darwin`: assertion failed: out.eq(ys)
24-
# https://github.com/01mf02/jaq/blob/v2.0.1/jaq-json/tests/funs.rs#L118
25-
postPatch = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) ''
26-
substituteInPlace jaq-json/tests/funs.rs \
27-
--replace-fail 'give(json!(null), "2.1 % 0 | isnan", json!(true));' ""
28-
'';
20+
cargoHash = "sha256-9N24D4fKsy/n+f5uTNkbQNgW+BgGkdEvgitvqbnOcGs=";
2921

3022
nativeInstallCheckInputs = [
3123
versionCheckHook

0 commit comments

Comments
 (0)