2025-07-31 01:25:56 +00:00

40 lines
851 B
Nix

{
fetchFromGitHub,
gfold,
lib,
rustPlatform,
testers,
}:
let
pname = "gfold";
version = "2025.7.0";
in
rustPlatform.buildRustPackage {
inherit pname version;
src = fetchFromGitHub {
owner = "nickgerace";
repo = "gfold";
rev = version;
hash = "sha256-EWQ17aEOEZnYEe3WJpyNuC+r4tv8DP1fYFH6fII2p+8=";
};
cargoHash = "sha256-3hzcYPD/w2vbsSuuHNAD2Oyqw0B0PIdERGgCAvAiQpk=";
passthru.tests.version = testers.testVersion {
package = gfold;
command = "gfold --version";
inherit version;
};
meta = with lib; {
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;
mainProgram = "gfold";
};
}