nixpkgs/pkgs/shells/fish/plugins/forgit.nix
2023-04-04 11:54:11 -04:00

25 lines
579 B
Nix

{ lib, buildFishPlugin, fetchFromGitHub }:
buildFishPlugin rec {
pname = "forgit";
version = "23.04.0";
src = fetchFromGitHub {
owner = "wfxr";
repo = "forgit";
rev = version;
sha256 = "sha256-3lvYIuzuJw0CQlaAQG6hAyfUgSXM+3BOmKRVDNFUN/U=";
};
postInstall = ''
cp -r bin $out/share/fish/vendor_conf.d/
'';
meta = with lib; {
description = "A utility tool powered by fzf for using git interactively.";
homepage = "https://github.com/wfxr/forgit";
license = licenses.mit;
maintainers = with maintainers; [ happysalada ];
};
}