Merge pull request #74923 from filalex77/starship-0.27.0

starship: 0.26.5 -> 0.27.0
This commit is contained in:
Maximilian Bosch 2019-12-04 22:42:36 +01:00 committed by GitHub
commit 7af0097967
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,17 +2,22 @@
rustPlatform.buildRustPackage rec {
pname = "starship";
version = "0.26.5";
version = "0.27.0";
src = fetchFromGitHub {
owner = "starship";
repo = "starship";
repo = pname;
rev = "v${version}";
sha256 = "0a2jx82cwnxr0751qz2zp3chl0ndxf4wmjnar1y7s63syy9i6s52";
sha256 = "1bps40rzljxihl87hbbdlas5v9lphhsjzgaqz2y0haqwjj1vjpm9";
};
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ];
postPatch = ''
substituteInPlace src/utils.rs \
--replace "/bin/echo" "echo"
'';
cargoSha256 = "110ajwgdshakcqxfnqi30yy0miikp2qx86flwfkd78jawfll2krp";
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";
homepage = "https://starship.rs";
license = licenses.isc;
maintainers = with maintainers; [ bbigras davidtwco ];
maintainers = with maintainers; [ bbigras davidtwco filalex77 ];
platforms = platforms.all;
};
}