29 lines
579 B
Nix
29 lines
579 B
Nix
{
|
|
lib,
|
|
buildFishPlugin,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildFishPlugin rec {
|
|
pname = "forgit";
|
|
version = "26.01.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wfxr";
|
|
repo = "forgit";
|
|
rev = version;
|
|
hash = "sha256-3PjKFARsN3BE5c3/JonNj+LpKBPT1N3hc1bK6NdWDTQ=";
|
|
};
|
|
|
|
postInstall = ''
|
|
cp -r bin $out/share/fish/vendor_conf.d/
|
|
'';
|
|
|
|
meta = {
|
|
description = "Utility tool powered by fzf for using git interactively";
|
|
homepage = "https://github.com/wfxr/forgit";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ happysalada ];
|
|
};
|
|
}
|