10 stdenvNoCC.mkDerivation (finalAttrs: {
11 pname = "git-toolbelt";
14 src = fetchFromGitHub {
16 repo = "git-toolbelt";
17 rev = "v${finalAttrs.version}";
18 hash = "sha256-ANqv/iIDUyy2G4pKSw+2sutMEA0WhPN3OKfPTm5lwDU=";
21 nativeBuildInputs = [ makeWrapper ];
25 fzf # needed by git-fixup-with
31 install -Dm755 git-* -t "$out"/bin
33 for exe in "$out"/bin/*; do
35 --prefix PATH : "$out"/bin:${lib.makeBinPath finalAttrs.buildInputs}
42 changelog = "https://github.com/nvie/git-toolbelt/blob/${finalAttrs.src.rev}/CHANGELOG.md";
43 description = "A suite of useful Git commands that aid with scripting or every day command line usage";
44 homepage = "https://github.com/nvie/git-toolbelt";
45 license = lib.licenses.bsd3;
46 maintainers = with lib.maintainers; [ tomasajt ];
47 platforms = lib.platforms.all;