2023-04-04 14:01:21 +02:00
|
|
|
{ lib, buildFishPlugin, fetchFromGitHub }:
|
2021-04-26 12:54:29 +02:00
|
|
|
|
|
|
|
buildFishPlugin rec {
|
|
|
|
pname = "forgit";
|
2023-04-04 14:01:21 +02:00
|
|
|
version = "23.04.0";
|
2021-04-26 12:54:29 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wfxr";
|
|
|
|
repo = "forgit";
|
2023-04-04 14:01:21 +02:00
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-3lvYIuzuJw0CQlaAQG6hAyfUgSXM+3BOmKRVDNFUN/U=";
|
2021-04-26 12:54:29 +02:00
|
|
|
};
|
|
|
|
|
2023-04-04 14:01:21 +02:00
|
|
|
postInstall = ''
|
|
|
|
cp -r bin $out/share/fish/vendor_conf.d/
|
|
|
|
'';
|
|
|
|
|
2021-04-26 12:54:29 +02:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|