Merge pull request #221798 from vinnymeller/init/tmux-sessionizer
This commit is contained in:
commit
2c47f4dae7
3 changed files with 42 additions and 0 deletions
|
@ -15991,6 +15991,12 @@
|
|||
fingerprint = "AEF2 3487 66F3 71C6 89A7 3600 95A4 2FE8 3535 25F9";
|
||||
}];
|
||||
};
|
||||
vinnymeller = {
|
||||
email = "vinnymeller@proton.me";
|
||||
github = "vinnymeller";
|
||||
githubId = 19894025;
|
||||
name = "Vinny Meller";
|
||||
};
|
||||
vinymeuh = {
|
||||
email = "vinymeuh@gmail.com";
|
||||
github = "vinymeuh";
|
||||
|
|
32
pkgs/tools/misc/tmux-sessionizer/default.nix
Normal file
32
pkgs/tools/misc/tmux-sessionizer/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, openssl
|
||||
, pkg-config
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "tmux-sessionizer";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jrmoulton";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-FSh3ww5KpktNSvqB3kcIaTxNHypwsVTHze0mgBtuJQE=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-3DyLYegAzNbPpW6MUIDLm1QUqmGg8zH0Ps1dbdaSezs=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "The fastest way to manage projects as tmux sessions";
|
||||
homepage = "https://github.com/jrmoulton/tmux-sessionizer";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ vinnymeller ];
|
||||
};
|
||||
}
|
|
@ -12823,6 +12823,10 @@ with pkgs;
|
|||
|
||||
tmux-mem-cpu-load = callPackage ../tools/misc/tmux-mem-cpu-load { };
|
||||
|
||||
tmux-sessionizer = callPackage ../tools/misc/tmux-sessionizer {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
tmux-xpanes = callPackage ../tools/misc/tmux-xpanes { };
|
||||
|
||||
tmuxPlugins = recurseIntoAttrs (callPackage ../misc/tmux-plugins { });
|
||||
|
|
Loading…
Reference in a new issue