Unverified Commit 69a173c8 authored by seth's avatar seth Committed by GitHub
Browse files

cosmic-store: 1.0.0-alpha.4 -> 1.0.0-alpha.5.1 (#374058)

parents 123138b3 e74b6b40
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -25,18 +25,18 @@

rustPlatform.buildRustPackage rec {
  pname = "cosmic-store";
  version = "1.0.0-alpha.4";
  version = "1.0.0-alpha.5.1";

  src = fetchFromGitHub {
    owner = "pop-os";
    repo = "cosmic-store";
    rev = "epoch-${version}";
    hash = "sha256-VaOKF3cCnNbfUfJeuhx0wXRvprAnSspTe8gIiR/t2Ng=";
    tag = "epoch-${version}";
    hash = "sha256-FK7faWiRNuQT8lIuRciP37U01csvtRGC9LyOXQCTjYk=";
    fetchSubmodules = true;
  };

  useFetchCargoVendor = true;
  cargoHash = "sha256-Zt2199zlxNbrN/S6bogp4JPM3ZMZpQL5jTXKMki6LQE=";
  cargoHash = "sha256-8m9zEkaaM0bnA1cOVMyIFE1EdztWqkpGEuHd1fRaass=";

  postPatch = ''
    substituteInPlace justfile --replace '#!/usr/bin/env' "#!$(command -v env)"
@@ -100,6 +100,9 @@ rustPlatform.buildRustPackage rec {
      }
  '';

  env.VERGEN_GIT_COMMIT_DATE = "2025-01-13";
  env.VERGEN_GIT_SHA = src.rev;

  passthru = {
    updateScript = nix-update-script { };
  };