nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildFishPlugin, fetchFromGitHub }:
2
3buildFishPlugin rec {
4 pname = "forgit";
5 version = "24.06.0";
6
7 src = fetchFromGitHub {
8 owner = "wfxr";
9 repo = "forgit";
10 rev = version;
11 hash = "sha256-odxdySx3Bzxs5RMXJ4nivwltQYIaM/UrPb+A0/pnDSk=";
12 };
13
14 postInstall = ''
15 cp -r bin $out/share/fish/vendor_conf.d/
16 '';
17
18 meta = with lib; {
19 description = "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}