about summary refs log tree commit diff
path: root/pkgs/shells/fish/plugins
diff options
context:
space:
mode:
authorLin Xianyi <iynaix@gmail.com>2024-03-10 09:59:11 +0800
committerLin Xianyi <iynaix@gmail.com>2024-03-10 10:00:52 +0800
commit6c1d07ab097312ebee9c306bcdbdac0c6f21a3bd (patch)
tree2239ca4014f73ffc27909dc3704f9dbfa02b99b0 /pkgs/shells/fish/plugins
parent632ebb90f86f84c1daf4597003e377f9ead5f697 (diff)
fishPlugins.transient-fish: init at 0-unstable-2024-03-10
Diffstat (limited to 'pkgs/shells/fish/plugins')
-rw-r--r--pkgs/shells/fish/plugins/default.nix2
-rw-r--r--pkgs/shells/fish/plugins/transient-fish.nix22
2 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/shells/fish/plugins/default.nix b/pkgs/shells/fish/plugins/default.nix
index e3ccd9fb8a0f0..7b17883c2211b 100644
--- a/pkgs/shells/fish/plugins/default.nix
+++ b/pkgs/shells/fish/plugins/default.nix
@@ -56,6 +56,8 @@ lib.makeScope newScope (self: with self; {
 
   tide = callPackage ./tide.nix { };
 
+  transient-fish = callPackage ./transient-fish.nix { };
+
   wakatime-fish = callPackage ./wakatime-fish.nix { };
 
   z = callPackage ./z.nix { };
diff --git a/pkgs/shells/fish/plugins/transient-fish.nix b/pkgs/shells/fish/plugins/transient-fish.nix
new file mode 100644
index 0000000000000..846436d2d1960
--- /dev/null
+++ b/pkgs/shells/fish/plugins/transient-fish.nix
@@ -0,0 +1,22 @@
+{ lib
+, buildFishPlugin
+, fetchFromGitHub
+}:
+buildFishPlugin {
+  pname = "transient-fish";
+  version = "0-unstable-2024-03-10";
+
+  src = fetchFromGitHub {
+    owner = "zzhaolei";
+    repo = "transient.fish";
+    rev = "be0093f1799462a93953e69896496dee4d063fd6";
+    hash = "sha256-rEkCimnkxcydKRI2y4DxEM7FD7F2/cGTZJN2Edq/Acc=";
+  };
+
+  meta = with lib; {
+    description = "Fish plugin to enable a transient prompt";
+    homepage = "https://github.com/zzhaolei/transient.fish";
+    license = licenses.mit;
+    maintainers = with maintainers; [ iynaix ];
+  };
+}