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 {
|
||||
pname = "zoxide";
|
||||
version = "0.8.0";
|
||||
version = "0.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ajeetdsouza";
|
||||
repo = "zoxide";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-5syCq2Qjjk/XoYqW4MGoSSTRLqzgBwadBJwZDDdWNgU=";
|
||||
sha256 = "sha256-f6HzSnrOaAOnA9k6e3CnXioxCTOM0VSpTOpxnmz+Tyk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
@ -24,14 +24,14 @@ rustPlatform.buildRustPackage rec {
|
|||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
||||
|
||||
postPatch = lib.optionalString withFzf ''
|
||||
substituteInPlace src/fzf.rs \
|
||||
substituteInPlace src/util.rs \
|
||||
--replace '"fzf"' '"${fzf}/bin/fzf"'
|
||||
'';
|
||||
|
||||
cargoSha256 = "sha256-egZqMiN53k2R1b1dbCn4j0KEJqb27TdE25YYEZ4Nvao=";
|
||||
cargoSha256 = "sha256-OAvE/KFoS4+18J+kOZTYa9zgnkWh/0bgy9iglGyZ8PQ=";
|
||||
|
||||
postInstall = ''
|
||||
installManPage man/*
|
||||
installManPage man/man*/*
|
||||
installShellCompletion --cmd zoxide \
|
||||
--bash contrib/completions/zoxide.bash \
|
||||
--fish contrib/completions/zoxide.fish \
|
||||
|
|
Loading…
Reference in a new issue