Merge pull request #182654 from ProducerMatt/tere2

tere: init at 1.1.0
This commit is contained in:
Winter 2022-07-24 14:18:40 -04:00 committed by GitHub
commit 92dd57f4af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 53 additions and 0 deletions

View file

@ -10341,6 +10341,12 @@
}
];
};
ProducerMatt = {
name = "Matthew Pherigo";
email = "ProducerMatt42@gmail.com";
github = "ProducerMatt";
githubId = 58014742;
};
Profpatsch = {
email = "mail@profpatsch.de";
github = "Profpatsch";

View file

@ -0,0 +1,19 @@
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

@ -0,0 +1,26 @@
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "tere";
version = "1.1.0";
src = fetchFromGitHub {
owner = "mgunyho";
repo = "tere";
rev = "v${version}";
sha256 = "BD7onBkFyo/JAw/neqL9N9nBYSxoMrmaG6egeznV9Xs=";
};
cargoSha256 = "gAq9ULQ2YFPmn4IsHaYrC0L7NqbPUWqXSb45ZjlMXEs=";
# This test confirmed not working.
# https://github.com/mgunyho/tere/issues/44
cargoPatches = [ ./brokentest.patch ];
meta = with lib; {
description = "A faster alternative to cd + ls";
homepage = "https://github.com/mgunyho/tere";
license = licenses.eupl12;
maintainers = with maintainers; [ ProducerMatt ];
};
}

View file

@ -1275,6 +1275,8 @@ with pkgs;
tauon = callPackage ../applications/audio/tauon { };
tere = callPackage ../tools/misc/tere { };
termusic = callPackage ../applications/audio/termusic { };
tfk8s = callPackage ../tools/misc/tfk8s { };