about summary refs log tree commit diff
path: root/pkgs/shells/fish
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-03-09 21:51:12 +0100
committerSefa Eyeoglu <contact@scrumplex.net>2023-03-13 16:44:06 +0100
commit196e9745e3b721fe79b5c4ede67c0c92e7076cba (patch)
treef164e18815c922ac0c7e1b37dd3342e2731d5801 /pkgs/shells/fish
parente047a2b1bcfe58313cd56ba6f102770d670a94e1 (diff)
downloadnixlib-196e9745e3b721fe79b5c4ede67c0c92e7076cba.tar
nixlib-196e9745e3b721fe79b5c4ede67c0c92e7076cba.tar.gz
nixlib-196e9745e3b721fe79b5c4ede67c0c92e7076cba.tar.bz2
nixlib-196e9745e3b721fe79b5c4ede67c0c92e7076cba.tar.lz
nixlib-196e9745e3b721fe79b5c4ede67c0c92e7076cba.tar.xz
nixlib-196e9745e3b721fe79b5c4ede67c0c92e7076cba.tar.zst
nixlib-196e9745e3b721fe79b5c4ede67c0c92e7076cba.zip
fishPlugins.fzf: init at unstable-2021-05-12
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'pkgs/shells/fish')
-rw-r--r--pkgs/shells/fish/plugins/default.nix2
-rw-r--r--pkgs/shells/fish/plugins/fzf.nix23
2 files changed, 25 insertions, 0 deletions
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 ];
+  };
+}