From 2c06ad073a082813431900a1e41d25a6f70b8965 Mon Sep 17 00:00:00 2001 From: Lyndon Sanche Date: Thu, 10 Feb 2022 21:25:46 -0700 Subject: [PATCH] starship: 1.2.1 -> 1.3.0 --- pkgs/tools/misc/starship/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/misc/starship/default.nix b/pkgs/tools/misc/starship/default.nix index 770be03243a6..6205106858ef 100644 --- a/pkgs/tools/misc/starship/default.nix +++ b/pkgs/tools/misc/starship/default.nix @@ -12,13 +12,13 @@ rustPlatform.buildRustPackage rec { pname = "starship"; - version = "1.2.1"; + version = "1.3.0"; src = fetchFromGitHub { owner = "starship"; repo = pname; rev = "v${version}"; - sha256 = "sha256-5MJA8eHo1enOHlLpAOF1iDvOHCS/Nw0sc84VWu9nApE="; + sha256 = "sha256-mqUE4JzNBhvtDpT2LM23eHX8q93wtPqA+/zr/PxEDiE="; }; nativeBuildInputs = [ installShellFiles ] ++ lib.optionals stdenv.isLinux [ pkg-config ]; @@ -26,8 +26,6 @@ rustPlatform.buildRustPackage rec { buildInputs = lib.optionals stdenv.isLinux [ openssl ] ++ lib.optionals stdenv.isDarwin [ libiconv Security ]; - buildFeatures = lib.optional (!stdenv.isDarwin) "notify-rust"; - postInstall = '' for shell in bash fish zsh; do STARSHIP_CACHE=$TMPDIR $out/bin/starship completions $shell > starship.$shell @@ -35,7 +33,7 @@ rustPlatform.buildRustPackage rec { done ''; - cargoSha256 = "sha256-DTQQFxj6stzlVzSdmv4J4Nsf8X/VMlwvfIumnuK0YDo="; + cargoSha256 = "sha256-hQNDiayVT4UgbxcxdXssi/evPvwgyvG/UOFyEHj7jpo="; preCheck = '' HOME=$TMPDIR