about summary refs log tree commit diff
path: root/pkgs/tools/misc/starship
diff options
context:
space:
mode:
authorDavid Knaack <davidkna@users.noreply.github.com>2022-08-15 21:14:44 +0200
committerGitHub <noreply@github.com>2022-08-15 21:14:44 +0200
commit928eb9fc0b1ffee6d1a2facc8b97467aec66c473 (patch)
tree80c5b05b6a0d6fcc644188b81b3af1a4a2745c42 /pkgs/tools/misc/starship
parent03c4c4f08c57806eec2f8aad875f18929b9563dc (diff)
starship: 1.10.0 -> 1.10.1
Diffstat (limited to 'pkgs/tools/misc/starship')
-rw-r--r--pkgs/tools/misc/starship/default.nix21
1 files changed, 5 insertions, 16 deletions
diff --git a/pkgs/tools/misc/starship/default.nix b/pkgs/tools/misc/starship/default.nix
index 7875f01f1f07b..608b495a8fa5a 100644
--- a/pkgs/tools/misc/starship/default.nix
+++ b/pkgs/tools/misc/starship/default.nix
@@ -4,10 +4,8 @@
 , rustPlatform
 , installShellFiles
 , libiconv
-, libgit2
 , cmake
 , fetchpatch
-, pkg-config
 , nixosTests
 , Security
 , Foundation
@@ -16,19 +14,18 @@
 
 rustPlatform.buildRustPackage rec {
   pname = "starship";
-  version = "1.10.0";
+  version = "1.10.1";
 
   src = fetchFromGitHub {
     owner = "starship";
     repo = pname;
     rev = "v${version}";
-    sha256 = "sha256-mumlnY9KGKdS3x4U84J4I8m5uMJI7SZR52aT6DPi/MM=";
+    sha256 = "sha256-ujv2lqhzsug9Qpco+4doMGH+0yG5cZZzLmSLr0MBmZk=";
   };
 
-  nativeBuildInputs = [ installShellFiles cmake ]
-    ++ lib.optionals stdenv.isLinux [ pkg-config ];
+  nativeBuildInputs = [ installShellFiles cmake ];
 
-  buildInputs = [ libgit2 ] ++ lib.optionals stdenv.isDarwin [ libiconv Security Foundation Cocoa ];
+  buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security Foundation Cocoa ];
 
   buildNoDefaultFeatures = true;
   # the "notify" feature is currently broken on darwin
@@ -41,15 +38,7 @@ rustPlatform.buildRustPackage rec {
       --zsh <($out/bin/starship completions zsh)
   '';
 
-  cargoPatches = [
-    # Bump chrono dependency to fix panic when no timezone
-    (fetchpatch {
-      url = "https://github.com/starship/starship/commit/e652e8643310c3b41ce19ad05b8168abc29bb683.patch";
-      sha256 = "sha256-iGYLJuptPMc45E7o+GXjIx7y2PxuO1mGM7xSopDBve0=";
-    })
-  ];
-
-  cargoSha256 = "sha256-w7UCExSkgEY52D98SSe2EkuiwtjM6t0/uTiafrtEBaU=";
+  cargoSha256 = "sha256-iZvjU/GzC/ssXcd+UeV57IA0hKT45cQ09VBB4BNYw50=";
 
   preCheck = ''
     HOME=$TMPDIR