Merge pull request #221798 from vinnymeller/init/tmux-sessionizer

This commit is contained in:
Sandro 2023-03-30 23:47:10 +02:00 committed by GitHub
commit 2c47f4dae7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 42 additions and 0 deletions

View file

@ -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";

View 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 ];
};
}

View file

@ -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 { });