Shane Sveller 2022-01-07 14:49:13 -06:00
parent 64594b8a14
commit bdaba51c6e
No known key found for this signature in database
GPG key ID: 649E7716A5DF8B68
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ lib, fetchFromGitHub, gitMinimal, makeWrapper, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "gfold";
version = "3.0.0";
src = fetchFromGitHub {
owner = "nickgerace";
repo = pname;
rev = version;
sha256 = "0ss6vfrc6h3jlh5qilh82psd3vdnfawf1wl4cf64mfm4hm9dda63";
};
cargoSha256 = "09ywwgxm8l1p0jypp65zpqryjnb2g4gririf1dmqb9148dsj29x2";
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram "$out/bin/gfold" --prefix PATH : "${gitMinimal}/bin"
'';
meta = with lib; {
inherit (src.meta) homepage;
description =
"A tool to help keep track of your Git repositories, written in Rust";
license = licenses.asl20;
maintainers = [ maintainers.shanesveller ];
platforms = platforms.unix;
};
}

View file

@ -5619,6 +5619,8 @@ with pkgs;
gfbgraph = callPackage ../development/libraries/gfbgraph { };
gfold = callPackage ../applications/version-management/git-and-tools/gfold { };
ggobi = callPackage ../tools/graphics/ggobi { };
gh = callPackage ../applications/version-management/git-and-tools/gh { };