Merge pull request #155117 from marsam/update-starship

starship: 1.1.1 -> 1.2.1
This commit is contained in:
Mario Rodas 2022-01-15 11:04:31 -05:00 committed by GitHub
commit da03b3341d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,13 +12,13 @@
rustPlatform.buildRustPackage rec {
pname = "starship";
version = "1.1.1";
version = "1.2.1";
src = fetchFromGitHub {
owner = "starship";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Rr0HCr/uJDsBQiKJIPdEL3WOaLgMY2Nq2JGOq4dEUxQ=";
sha256 = "sha256-5MJA8eHo1enOHlLpAOF1iDvOHCS/Nw0sc84VWu9nApE=";
};
nativeBuildInputs = [ installShellFiles ] ++ lib.optionals stdenv.isLinux [ pkg-config ];
@ -35,7 +35,7 @@ rustPlatform.buildRustPackage rec {
done
'';
cargoSha256 = "sha256-UT6t1GbyON/wrIF/oXXhsT3Z61LFjggSPWKpSDHp+PI=";
cargoSha256 = "sha256-DTQQFxj6stzlVzSdmv4J4Nsf8X/VMlwvfIumnuK0YDo=";
preCheck = ''
HOME=$TMPDIR