diff options
author | happysalada <raphael@megzari.com> | 2021-04-09 15:45:17 +0900 |
---|---|---|
committer | happysalada <raphael@megzari.com> | 2021-04-09 15:45:17 +0900 |
commit | 89e0e50e19b009a59f936471e6b904c55b9f60da (patch) | |
tree | 0222b5e87626dc52eb0827cefd30caf3119a07a6 /pkgs/tools/misc/zoxide | |
parent | 6fc2b7ecc2a167ce6a6902d5417daf1fa5cac777 (diff) |
zoxide: 0.5.0 -> 0.6.0; fix darwin build
Diffstat (limited to 'pkgs/tools/misc/zoxide')
-rw-r--r-- | pkgs/tools/misc/zoxide/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/tools/misc/zoxide/default.nix b/pkgs/tools/misc/zoxide/default.nix index 1e1ec8723bfc8..5cad350f49826 100644 --- a/pkgs/tools/misc/zoxide/default.nix +++ b/pkgs/tools/misc/zoxide/default.nix @@ -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"; |