Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 26 lines 745 B view raw
1{ lib, buildFishPlugin, fetchFromGitHub, git, fzf }: 2 3buildFishPlugin rec { 4 pname = "forgit"; 5 version = "unstable-2021-04-09"; 6 7 preFixup = '' 8 substituteInPlace $out/share/fish/vendor_conf.d/forgit.plugin.fish \ 9 --replace "fzf " "${fzf}/bin/fzf " \ 10 --replace "git " "${git}/bin/git " 11 ''; 12 13 src = fetchFromGitHub { 14 owner = "wfxr"; 15 repo = "forgit"; 16 rev = "7806fc3ab37ac479c315eb54b164f67ba9ed17ea"; 17 sha256 = "sha256-a7wjuqXe3+y5zlgSLk5J31WoORbieFimvtr0FQHRY5M="; 18 }; 19 20 meta = with lib; { 21 description = "A utility tool powered by fzf for using git interactively."; 22 homepage = "https://github.com/wfxr/forgit"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ happysalada ]; 25 }; 26}