zoxide: 0.5.0 -> 0.6.0; fix darwin build
This commit is contained in:
parent
6fc2b7ecc2
commit
89e0e50e19
@ -4,6 +4,7 @@
|
|||||||
, rustPlatform
|
, rustPlatform
|
||||||
, withFzf ? true
|
, withFzf ? true
|
||||||
, fzf
|
, fzf
|
||||||
|
, libiconv
|
||||||
# checkInputs
|
# checkInputs
|
||||||
, fish
|
, fish
|
||||||
, powershell
|
, powershell
|
||||||
@ -15,15 +16,17 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "zoxide";
|
pname = "zoxide";
|
||||||
version = "0.5.0";
|
version = "0.6.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ajeetdsouza";
|
owner = "ajeetdsouza";
|
||||||
repo = "zoxide";
|
repo = "zoxide";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "143lh94mw31pm9q7ib63h2k842g3h222mdabhf25hpb19lka2w5y";
|
sha256 = "ZeGFsVBpEhKi4EIhpQlCuriFzmHAgLYw3qE/zqfyqgU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
||||||
|
|
||||||
# tests are broken on darwin
|
# tests are broken on darwin
|
||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
@ -46,7 +49,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
--replace '"fzf"' '"${fzf}/bin/fzf"'
|
--replace '"fzf"' '"${fzf}/bin/fzf"'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cargoSha256 = "05mp101yk1zkjj1gwbkldizq6f9f8089gqgvq42c4ngq88pc7v9a";
|
cargoSha256 = "Hzn01+OhdBrZD1woXN4Pwf/S72Deln1gyyBOWyDC6iM=";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A fast cd command that learns your habits";
|
description = "A fast cd command that learns your habits";
|
||||||
|
Loading…
Reference in New Issue
Block a user