Unverified Commit f0805915 authored by Colin's avatar Colin Committed by GitHub
Browse files

gfold: 2025.7.0 -> 2025.9.0 (#451062)

parents 78b10a69 845e2862
Loading
Loading
Loading
Loading
+22 −17
Original line number Diff line number Diff line
@@ -4,36 +4,41 @@
  lib,
  rustPlatform,
  testers,
  mold,
  nix-update-script,
}:

let
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "gfold";
  version = "2025.7.0";
in
rustPlatform.buildRustPackage {
  inherit pname version;
  version = "2025.9.0";

  src = fetchFromGitHub {
    owner = "nickgerace";
    repo = "gfold";
    rev = version;
    hash = "sha256-EWQ17aEOEZnYEe3WJpyNuC+r4tv8DP1fYFH6fII2p+8=";
    rev = finalAttrs.version;
    hash = "sha256-sPvhZaDGInXH2PT8fg28m7wyDZiIE4fFScNO8WIjV9s=";
  };

  cargoHash = "sha256-3hzcYPD/w2vbsSuuHNAD2Oyqw0B0PIdERGgCAvAiQpk=";
  cargoHash = "sha256-pbIE8QXY8lYsDGdmGVsOPesVTaHRjDBSd7ihQhN2XrI=";

  passthru.tests.version = testers.testVersion {
  nativeBuildInputs = [ mold ];

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

    tests.version = testers.testVersion {
      package = gfold;
      command = "gfold --version";
    inherit version;
      inherit (finalAttrs) version;
    };
  };

  meta = with lib; {
  meta = {
    description = "CLI tool to help keep track of your Git repositories, written in Rust";
    homepage = "https://github.com/nickgerace/gfold";
    license = licenses.asl20;
    maintainers = [ maintainers.sigmanificient ];
    platforms = platforms.unix;
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ sigmanificient ];
    platforms = lib.platforms.unix;
    mainProgram = "gfold";
  };
}
})