Update tmux-sessionizer
All checks were successful
/ check (push) Successful in 1m47s

This commit is contained in:
Oliver Davies 2025-07-07 12:00:00 +01:00
parent 533b8db65f
commit 2c66524d18
7 changed files with 38 additions and 108 deletions

View file

@ -4,13 +4,13 @@ with pkgs;
stdenv.mkDerivation {
pname = "tmux-sessionizer";
version = "unstable-2024-10-30";
version = "unstable-2025-06-19";
src = fetchFromGitHub {
owner = "theprimeagen";
repo = "tmux-sessionizer";
rev = "6ebd16e2e30a8c0ebd77f0c2ce18cb46db8397fa";
sha256 = "bZXt9TyMU1Ed/WR0/ahMQ4oyIi6yXLKnXKYPPNBt/s4=";
rev = "7edf8211e36368c29ffc0d2c6d5d2d350b4d729b";
sha256 = "sha256-4QGlq/cLbed7AZhQ3R1yH+44gmgp9gSzbiQft8X5NwU=";
};
buildInputs = [
@ -19,22 +19,11 @@ stdenv.mkDerivation {
tmux
];
patches = [
./move-default-script.patch
(fetchpatch {
name = "feat: Made folders more dynamic";
url = "https://patch-diff.githubusercontent.com/raw/ThePrimeagen/tmux-sessionizer/pull/2.patch";
sha256 = "sha256-4/4rzve49T3FHnl9WWUPJVcb0NQojMQjIVnEZGwVAsY=";
})
./shorten-suggested-paths.patch
./sort-suggestions.patch
];
installPhase = ''
mkdir -p $out/bin
cp tmux-sessionizer $out/bin/tmux-sessionizer
chmod +x $out/bin/tmux-sessionizer
'';
# TODO: create another patch to sort results.
}