Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 28 lines 581 B view raw
1{ 2 lib, 3 buildFishPlugin, 4 fetchFromGitHub, 5}: 6 7buildFishPlugin rec { 8 pname = "forgit"; 9 version = "25.08.0"; 10 11 src = fetchFromGitHub { 12 owner = "wfxr"; 13 repo = "forgit"; 14 rev = version; 15 hash = "sha256-45NeIRSTNiCqctdwBaS/qOeOI/8f4L+KVI/I6grYm+0="; 16 }; 17 18 postInstall = '' 19 cp -r bin $out/share/fish/vendor_conf.d/ 20 ''; 21 22 meta = with lib; { 23 description = "Utility tool powered by fzf for using git interactively"; 24 homepage = "https://github.com/wfxr/forgit"; 25 license = licenses.mit; 26 maintainers = with maintainers; [ happysalada ]; 27 }; 28}