From 539887622b9bc33186fc0aed6f1eaccdb9e19833 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 15 Apr 2022 04:20:00 +0000 Subject: [PATCH] starship: 2022-04-12 -> 1.6.2 https://github.com/starship/starship/releases/tag/v1.6.2 --- pkgs/tools/misc/starship/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/misc/starship/default.nix b/pkgs/tools/misc/starship/default.nix index bbb4efef940a..f32774774812 100644 --- a/pkgs/tools/misc/starship/default.nix +++ b/pkgs/tools/misc/starship/default.nix @@ -14,15 +14,13 @@ rustPlatform.buildRustPackage rec { pname = "starship"; - # unstable was used for a quick fix for darwin - # revert to stable for the release after 1.5.4 - version = "unstable-2022-04-12"; + version = "1.6.2"; src = fetchFromGitHub { owner = "starship"; repo = pname; - rev = "a02e87833d6a0e0da3c239d0bbbf3b485356a655"; - sha256 = "sha256-oe/dKFgM8h+ur8E9/dw4byBl9vD6foUXyKX19HDozYU="; + rev = "v${version}"; + sha256 = "sha256-Swxc2gl3YP+0Kf+trp37rGhr5G8NT4L3Bb3lHwLm50Q="; }; nativeBuildInputs = [ installShellFiles pkg-config ]; @@ -40,7 +38,7 @@ rustPlatform.buildRustPackage rec { done ''; - cargoSha256 = "sha256-lku+K1Y5HIt4gDHqudhDMVs7XGoKw8HcMjXMGDu1vkg="; + cargoSha256 = "sha256-UvIectx6qWkXg/yVQe11NXhh2UD0D/dMCtK1kj3ln6M="; preCheck = '' HOME=$TMPDIR