@@ -9,22 +9,23 @@
99, nixosTests
1010, Security
1111, Foundation
12+, Cocoa
1213}:
1314
1415rustPlatform.buildRustPackage rec {
1516 pname = "starship";
16− version = "1.3.0";
17+ version = "1.5.4";
1718
1819 src = fetchFromGitHub {
1920 owner = "starship";
2021 repo = pname;
2122 rev = "v${version}";
22− sha256 = "sha256-mqUE4JzNBhvtDpT2LM23eHX8q93wtPqA+/zr/PxEDiE=";
23+ sha256 = "sha256-nLzqfSRmA+D310MDvX+g8nNsoaiSixG+j+g87CPzYMs=";
2324 };
2425
2526 nativeBuildInputs = [ installShellFiles pkg-config ];
2627
27− buildInputs = [ libgit2 ] ++ lib.optionals stdenv.isDarwin [ libiconv Security Foundation ];
28+ buildInputs = [ libgit2 ] ++ lib.optionals stdenv.isDarwin [ libiconv Security Foundation Cocoa ];
2829
2930 postInstall = ''
3031 for shell in bash fish zsh; do
@@ -33,7 +34,7 @@ rustPlatform.buildRustPackage rec {
3334 done
3435 '';
3536
36− cargoSha256 = "sha256-hQNDiayVT4UgbxcxdXssi/evPvwgyvG/UOFyEHj7jpo=";
37+ cargoSha256 = "sha256-FXzAvO11NIr6dxF2OeV5XJWHG2kgZiASuBnoC6mSps8=";
3738
3839 preCheck = ''
3940 HOME=$TMPDIR