diff --git a/pkgs/shells/fish/plugins/default.nix b/pkgs/shells/fish/plugins/default.nix index 9197c4907fdf..c9e107a477ed 100644 --- a/pkgs/shells/fish/plugins/default.nix +++ b/pkgs/shells/fish/plugins/default.nix @@ -22,6 +22,8 @@ lib.makeScope newScope (self: with self; { forgit = callPackage ./forgit.nix { }; + fzf = callPackage ./fzf.nix { }; + fzf-fish = callPackage ./fzf-fish.nix { }; grc = callPackage ./grc.nix { }; diff --git a/pkgs/shells/fish/plugins/fzf.nix b/pkgs/shells/fish/plugins/fzf.nix new file mode 100644 index 000000000000..fa7e33da6a74 --- /dev/null +++ b/pkgs/shells/fish/plugins/fzf.nix @@ -0,0 +1,23 @@ +{ lib +, buildFishPlugin +, fetchFromGitHub +, +}: +buildFishPlugin rec { + pname = "fzf"; + version = "unstable-2021-05-12"; + + src = fetchFromGitHub { + owner = "jethrokuan"; + repo = pname; + rev = "479fa67d7439b23095e01b64987ae79a91a4e283"; + sha256 = "sha256-28QW/WTLckR4lEfHv6dSotwkAKpNJFCShxmKFGQQ1Ew="; + }; + + meta = with lib; { + description = "Ef-fish-ient fish keybindings for fzf"; + homepage = "https://github.com/jethrokuan/fzf"; + license = licenses.mit; + maintainers = with maintainers; [ Scrumplex ]; + }; +}