Unverified Commit 2c47f4da authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

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

parents c47370e2 d8025998
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+4 −0
Original line number Diff line number Diff line
@@ -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 { });