Merge pull request #74923 from filalex77/starship-0.27.0
starship: 0.26.5 -> 0.27.0
This commit is contained in:
commit
7af0097967
@ -2,17 +2,22 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "starship";
|
pname = "starship";
|
||||||
version = "0.26.5";
|
version = "0.27.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "starship";
|
owner = "starship";
|
||||||
repo = "starship";
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0a2jx82cwnxr0751qz2zp3chl0ndxf4wmjnar1y7s63syy9i6s52";
|
sha256 = "1bps40rzljxihl87hbbdlas5v9lphhsjzgaqz2y0haqwjj1vjpm9";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ];
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace src/utils.rs \
|
||||||
|
--replace "/bin/echo" "echo"
|
||||||
|
'';
|
||||||
|
|
||||||
cargoSha256 = "110ajwgdshakcqxfnqi30yy0miikp2qx86flwfkd78jawfll2krp";
|
cargoSha256 = "110ajwgdshakcqxfnqi30yy0miikp2qx86flwfkd78jawfll2krp";
|
||||||
checkPhase = "cargo test -- --skip directory::home_directory --skip directory::directory_in_root";
|
checkPhase = "cargo test -- --skip directory::home_directory --skip directory::directory_in_root";
|
||||||
|
|
||||||
@ -20,7 +25,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
description = "A minimal, blazing fast, and extremely customizable prompt for any shell";
|
description = "A minimal, blazing fast, and extremely customizable prompt for any shell";
|
||||||
homepage = "https://starship.rs";
|
homepage = "https://starship.rs";
|
||||||
license = licenses.isc;
|
license = licenses.isc;
|
||||||
maintainers = with maintainers; [ bbigras davidtwco ];
|
maintainers = with maintainers; [ bbigras davidtwco filalex77 ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user