Merge pull request #196177 from ProducerMatt/tere4

tere: 1.2.0 -> 1.3.0
This commit is contained in:
figsoda 2022-10-17 09:00:16 -04:00 committed by GitHub
commit 98fd494fd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 25 deletions

View file

@ -1,19 +0,0 @@
diff --git a/src/app_state.rs b/src/app_state.rs
index e44acb6..713642a 100644
--- a/src/app_state.rs
+++ b/src/app_state.rs
@@ -1272,7 +1272,7 @@ mod tests {
assert_eq!(s.cursor_pos, 1);
assert_eq!(s.scroll_pos, 2);
}
-
+ /*
#[test]
fn test_advance_search_with_filter_search_and_scrolling2() {
let mut s = create_test_state_with_buf(
@@ -1302,4 +1302,5 @@ mod tests {
assert_eq!(s.cursor_pos, 1);
assert_eq!(s.scroll_pos, 0);
}
+ */
}

View file

@ -2,20 +2,20 @@
rustPlatform.buildRustPackage rec {
pname = "tere";
version = "1.2.0";
version = "1.3.0";
src = fetchFromGitHub {
owner = "mgunyho";
repo = "tere";
rev = "v${version}";
sha256 = "sha256-2DpJYOzswT7dHEIj+qaTx1Jm28NE+61opoxuMChNwbM=";
sha256 = "sha256-jousyoro1Mn1+yBzUkGxW7/zbNvF7+Y4/WLRj99Iuy0=";
};
cargoSha256 = "sha256-8qSikfsHX8xwBqSSxWwNbiOpXmfzwGTAOALPjxVHadc=";
cargoSha256 = "sha256-hMAxKijmlckkCtQZiC5ubaZQKU2m99gL/MkYoU7zQxU=";
# This test confirmed not working.
# https://github.com/mgunyho/tere/issues/44
cargoPatches = [ ./brokentest.patch ];
postPatch = ''
rm .cargo/config.toml;
'';
meta = with lib; {
description = "A faster alternative to cd + ls";