1{ lib, buildFishPlugin, fetchFromGitHub }:
2
3buildFishPlugin rec {
4 pname = "forgit";
5 version = "23.04.0";
6
7 src = fetchFromGitHub {
8 owner = "wfxr";
9 repo = "forgit";
10 rev = version;
11 sha256 = "sha256-3lvYIuzuJw0CQlaAQG6hAyfUgSXM+3BOmKRVDNFUN/U=";
12 };
13
14 postInstall = ''
15 cp -r bin $out/share/fish/vendor_conf.d/
16 '';
17
18 meta = with lib; {
19 description = "A utility tool powered by fzf for using git interactively.";
20 homepage = "https://github.com/wfxr/forgit";
21 license = licenses.mit;
22 maintainers = with maintainers; [ happysalada ];
23 };
24}