diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index fdafd2948f0d..acfd0716e42b 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -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"; diff --git a/pkgs/tools/misc/tmux-sessionizer/default.nix b/pkgs/tools/misc/tmux-sessionizer/default.nix new file mode 100644 index 000000000000..04102746b242 --- /dev/null +++ b/pkgs/tools/misc/tmux-sessionizer/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a87126dae148..679c5ff1ec78 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { });