zoxide: 0.8.0 -> 0.8.1
This commit is contained in:
parent
09450ad530
commit
1396161853
1 changed files with 5 additions and 5 deletions
|
@ -10,13 +10,13 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "zoxide";
|
pname = "zoxide";
|
||||||
version = "0.8.0";
|
version = "0.8.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ajeetdsouza";
|
owner = "ajeetdsouza";
|
||||||
repo = "zoxide";
|
repo = "zoxide";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-5syCq2Qjjk/XoYqW4MGoSSTRLqzgBwadBJwZDDdWNgU=";
|
sha256 = "sha256-f6HzSnrOaAOnA9k6e3CnXioxCTOM0VSpTOpxnmz+Tyk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
@ -24,14 +24,14 @@ rustPlatform.buildRustPackage rec {
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
||||||
|
|
||||||
postPatch = lib.optionalString withFzf ''
|
postPatch = lib.optionalString withFzf ''
|
||||||
substituteInPlace src/fzf.rs \
|
substituteInPlace src/util.rs \
|
||||||
--replace '"fzf"' '"${fzf}/bin/fzf"'
|
--replace '"fzf"' '"${fzf}/bin/fzf"'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cargoSha256 = "sha256-egZqMiN53k2R1b1dbCn4j0KEJqb27TdE25YYEZ4Nvao=";
|
cargoSha256 = "sha256-OAvE/KFoS4+18J+kOZTYa9zgnkWh/0bgy9iglGyZ8PQ=";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installManPage man/*
|
installManPage man/man*/*
|
||||||
installShellCompletion --cmd zoxide \
|
installShellCompletion --cmd zoxide \
|
||||||
--bash contrib/completions/zoxide.bash \
|
--bash contrib/completions/zoxide.bash \
|
||||||
--fish contrib/completions/zoxide.fish \
|
--fish contrib/completions/zoxide.fish \
|
||||||
|
|
Loading…
Reference in a new issue