tere: 1.2.0 -> 1.3.0

Release notes: https://github.com/mgunyho/tere/releases/tag/v1.3.0

Patch no longer needed as the test now passes correctly.

+3 -26
-19
pkgs/tools/misc/tere/brokentest.patch
··· 1 - diff --git a/src/app_state.rs b/src/app_state.rs 2 - index e44acb6..713642a 100644 3 - --- a/src/app_state.rs 4 - +++ b/src/app_state.rs 5 - @@ -1272,7 +1272,7 @@ mod tests { 6 - assert_eq!(s.cursor_pos, 1); 7 - assert_eq!(s.scroll_pos, 2); 8 - } 9 - - 10 - + /* 11 - #[test] 12 - fn test_advance_search_with_filter_search_and_scrolling2() { 13 - let mut s = create_test_state_with_buf( 14 - @@ -1302,4 +1302,5 @@ mod tests { 15 - assert_eq!(s.cursor_pos, 1); 16 - assert_eq!(s.scroll_pos, 0); 17 - } 18 - + */ 19 - }
···
+3 -7
pkgs/tools/misc/tere/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "tere"; 5 - version = "1.2.0"; 6 7 src = fetchFromGitHub { 8 owner = "mgunyho"; 9 repo = "tere"; 10 rev = "v${version}"; 11 - sha256 = "sha256-2DpJYOzswT7dHEIj+qaTx1Jm28NE+61opoxuMChNwbM="; 12 }; 13 14 - cargoSha256 = "sha256-8qSikfsHX8xwBqSSxWwNbiOpXmfzwGTAOALPjxVHadc="; 15 - 16 - # This test confirmed not working. 17 - # https://github.com/mgunyho/tere/issues/44 18 - cargoPatches = [ ./brokentest.patch ]; 19 20 meta = with lib; { 21 description = "A faster alternative to cd + ls";
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "tere"; 5 + version = "1.3.0"; 6 7 src = fetchFromGitHub { 8 owner = "mgunyho"; 9 repo = "tere"; 10 rev = "v${version}"; 11 + sha256 = "sha256-jousyoro1Mn1+yBzUkGxW7/zbNvF7+Y4/WLRj99Iuy0="; 12 }; 13 14 + cargoSha256 = "sha256-hMAxKijmlckkCtQZiC5ubaZQKU2m99gL/MkYoU7zQxU="; 15 16 meta = with lib; { 17 description = "A faster alternative to cd + ls";