about summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorOTABI Tomoya <tomoya.otabi@gmail.com>2024-03-07 23:07:20 +0900
committerGitHub <noreply@github.com>2024-03-07 23:07:20 +0900
commit3da2051297aacc2e30b70c664c12931c150d5a6c (patch)
treead6c4ed637dbe3bf325fcb1d5736c5669c7250f0 /pkgs/shells
parent5e5fcff5615ff0be790a20cab3a2ab924ab0b211 (diff)
parent27a75df26c9c9f00cb104b1e1c81482a0989ca24 (diff)
Merge pull request #292987 from hmajid2301/add-fifc-fish-plugin
fishPlugin.fifc: init at 0.1.1
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/fish/plugins/default.nix2
-rw-r--r--pkgs/shells/fish/plugins/fifc.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 739e819952333..e3ccd9fb8a0f0 100644
--- a/pkgs/shells/fish/plugins/default.nix
+++ b/pkgs/shells/fish/plugins/default.nix
@@ -19,6 +19,8 @@ lib.makeScope newScope (self: with self; {
 
   done = callPackage ./done.nix { };
 
+  fifc = callPackage ./fifc.nix { };
+
   # Fishtape 2.x and 3.x aren't compatible,
   # but both versions are used in the tests of different other plugins.
   fishtape = callPackage ./fishtape.nix { };
diff --git a/pkgs/shells/fish/plugins/fifc.nix b/pkgs/shells/fish/plugins/fifc.nix
new file mode 100644
index 0000000000000..0b287d39ba2fc
--- /dev/null
+++ b/pkgs/shells/fish/plugins/fifc.nix
@@ -0,0 +1,23 @@
+{
+  lib,
+  buildFishPlugin,
+  fetchFromGitHub,
+}:
+buildFishPlugin rec {
+  pname = "fifc";
+  version = "0.1.1";
+
+  src = fetchFromGitHub {
+    owner = "gazorby";
+    repo = "fifc";
+    rev = "v${version}";
+    hash = "sha256-p5E4Mx6j8hcM1bDbeftikyhfHxQ+qPDanuM1wNqGm6E=";
+  };
+
+  meta = with lib; {
+    description = "Fzf powers on top of fish completion engine and allows customizable completion rules";
+    homepage = "https://github.com/gazorby/fifc";
+    license = licenses.mit;
+    maintainers = with maintainers; [ hmajid2301 ];
+  };
+}