zoxide: 0.5.0 -> 0.6.0; fix darwin build

This commit is contained in:
happysalada 2021-04-09 15:45:17 +09:00
parent 6fc2b7ecc2
commit 89e0e50e19

View File

@ -4,6 +4,7 @@
, rustPlatform
, withFzf ? true
, fzf
, libiconv
# checkInputs
, fish
, powershell
@ -15,15 +16,17 @@
rustPlatform.buildRustPackage rec {
pname = "zoxide";
version = "0.5.0";
version = "0.6.0";
src = fetchFromGitHub {
owner = "ajeetdsouza";
repo = "zoxide";
rev = "v${version}";
sha256 = "143lh94mw31pm9q7ib63h2k842g3h222mdabhf25hpb19lka2w5y";
sha256 = "ZeGFsVBpEhKi4EIhpQlCuriFzmHAgLYw3qE/zqfyqgU=";
};
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
# tests are broken on darwin
doCheck = !stdenv.isDarwin;
@ -46,7 +49,7 @@ rustPlatform.buildRustPackage rec {
--replace '"fzf"' '"${fzf}/bin/fzf"'
'';
cargoSha256 = "05mp101yk1zkjj1gwbkldizq6f9f8089gqgvq42c4ngq88pc7v9a";
cargoSha256 = "Hzn01+OhdBrZD1woXN4Pwf/S72Deln1gyyBOWyDC6iM=";
meta = with lib; {
description = "A fast cd command that learns your habits";