nixpkgs/pkgs/shells/fish/plugins/forgit.nix
2024-10-03 07:18:51 +00:00

25 lines
574 B
Nix

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