2025-01-18 01:56:28 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
2025-01-19 13:49:10 +00:00
|
|
|
with pkgs;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2025-01-18 01:56:28 +00:00
|
|
|
pname = "tmux-sessonizer";
|
|
|
|
version = "0.1.0";
|
|
|
|
|
2025-01-19 13:49:10 +00:00
|
|
|
src = fetchFromGitHub {
|
2025-01-18 01:56:28 +00:00
|
|
|
owner = "theprimeagen";
|
|
|
|
repo = "tmux-sessionizer";
|
|
|
|
rev = "master";
|
|
|
|
sha256 = "bZXt9TyMU1Ed/WR0/ahMQ4oyIi6yXLKnXKYPPNBt/s4=";
|
|
|
|
};
|
|
|
|
|
2025-01-19 13:49:10 +00:00
|
|
|
buildInputs = [
|
2025-01-18 01:56:28 +00:00
|
|
|
bash
|
|
|
|
fzf
|
|
|
|
tmux
|
|
|
|
];
|
|
|
|
|
|
|
|
patches = [ ./configure-directories.patch ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp tmux-sessionizer $out/bin/tmux-sessionizer
|
|
|
|
chmod +x $out/bin/tmux-sessionizer
|
|
|
|
'';
|
|
|
|
}
|