87f9c27ba9
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
32 lines
772 B
Nix
32 lines
772 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, stdenv
|
|
, rustPlatform
|
|
, openssl
|
|
, pkg-config
|
|
, Security
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "tmux-sessionizer";
|
|
version = "0.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jrmoulton";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-fV+LBs+jbcOjArUfygEXkyxg/xGhI35YduUkx4AyQhk=";
|
|
};
|
|
|
|
cargoHash = "sha256-Bg4C4r3h/kaMsAqzit9JVuAe7vYrRB9W5OLOWPgCJHc=";
|
|
|
|
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 ];
|
|
};
|
|
}
|