tmux-sessionizer: 0.4.3 -> 0.4.4
This commit is contained in:
parent
c161987baf
commit
2b5e0949de
@ -7,11 +7,12 @@
|
|||||||
, Security
|
, Security
|
||||||
, testers
|
, testers
|
||||||
, tmux-sessionizer
|
, tmux-sessionizer
|
||||||
|
, installShellFiles
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
|
||||||
name = "tmux-sessionizer";
|
name = "tmux-sessionizer";
|
||||||
version = "0.4.3";
|
version = "0.4.4";
|
||||||
|
|
||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
@ -22,10 +23,10 @@ rustPlatform.buildRustPackage {
|
|||||||
owner = "jrmoulton";
|
owner = "jrmoulton";
|
||||||
repo = name;
|
repo = name;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-wwu3h2eQrim/RbxTYqt+EnFmn0uD6PQzo1Xs1qCVQ3o=";
|
hash = "sha256-4xwpenoAVGKdVO3eSS4BhaEcwpNPGA5Ozie53focDlA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-5OIiDz66GD3DrNKzxH+bpyweS7Ycn2IOf4f9mdHAaCo=";
|
cargoHash = "sha256-ajeCB1w/JHMT5e7mSwsh++lzLNfp0qfutONStpJpFDo=";
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion {
|
passthru.tests.version = testers.testVersion {
|
||||||
package = tmux-sessionizer;
|
package = tmux-sessionizer;
|
||||||
@ -35,9 +36,16 @@ rustPlatform.buildRustPackage {
|
|||||||
# Needed to get openssl-sys to use pkg-config.
|
# Needed to get openssl-sys to use pkg-config.
|
||||||
OPENSSL_NO_VENDOR = 1;
|
OPENSSL_NO_VENDOR = 1;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config installShellFiles ];
|
||||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
|
buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
|
||||||
|
|
||||||
|
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||||
|
installShellCompletion --cmd tms \
|
||||||
|
--bash <($out/bin/tms --generate bash) \
|
||||||
|
--fish <($out/bin/tms --generate fish) \
|
||||||
|
--zsh <($out/bin/tms --generate zsh)
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Fastest way to manage projects as tmux sessions";
|
description = "Fastest way to manage projects as tmux sessions";
|
||||||
homepage = "https://github.com/jrmoulton/tmux-sessionizer";
|
homepage = "https://github.com/jrmoulton/tmux-sessionizer";
|
||||||
|
Loading…
Reference in New Issue
Block a user