Unverified Commit 6bce3528 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

starship: 1.22.1 -> 1.23.0 (#402324)

parents 1cbc9b25 80478c1f
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -4,7 +4,6 @@
  fetchFromGitHub,
  rustPlatform,
  installShellFiles,
  cmake,
  writableTmpDirAsHomeHook,
  git,
  nixosTests,
@@ -13,19 +12,16 @@

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "starship";
  version = "1.22.1";
  version = "1.23.0";

  src = fetchFromGitHub {
    owner = "starship";
    repo = "starship";
    rev = "v${finalAttrs.version}";
    hash = "sha256-YoLi4wxBK9TFTtZRm+2N8HO5ZiC3V2GMqKFKKLHq++s=";
    hash = "sha256-5Euhbuu1uiJ5HJNlPs9sUoGcc5QWqXqNmEH0jpfGLlc=";
  };

  nativeBuildInputs = [
    installShellFiles
    cmake
  ];
  nativeBuildInputs = [ installShellFiles ];

  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ writableTmpDirAsHomeHook ];

@@ -53,7 +49,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
    );

  useFetchCargoVendor = true;
  cargoHash = "sha256-B2CCrSH2aTcGEX96oBxl/27hNMdDpdd2vxdt0/nlN6I=";
  cargoHash = "sha256-cxDWaPlNK7POJ3GhA21NlJ6q62bqHdA/4sru5pLkvOA=";

  nativeCheckInputs = [ git ];