about summary refs log tree commit diff
path: root/pkgs/shells/fish
diff options
context:
space:
mode:
authorMatthew McMillan <github@matthewmcmillan.me>2023-02-23 19:58:41 -0500
committerCole Helbling <cole.e.helbling@outlook.com>2023-02-24 07:09:36 -0800
commit32a93b58b2eab85e31cff79662c4e6056f18d9fd (patch)
tree53a4b37f9e4651fc01caa0d84c1723c17e3b310e /pkgs/shells/fish
parent01bf3b02f750b9402a1b4f531cf09b097d7efa47 (diff)
downloadnixlib-32a93b58b2eab85e31cff79662c4e6056f18d9fd.tar
nixlib-32a93b58b2eab85e31cff79662c4e6056f18d9fd.tar.gz
nixlib-32a93b58b2eab85e31cff79662c4e6056f18d9fd.tar.bz2
nixlib-32a93b58b2eab85e31cff79662c4e6056f18d9fd.tar.lz
nixlib-32a93b58b2eab85e31cff79662c4e6056f18d9fd.tar.xz
nixlib-32a93b58b2eab85e31cff79662c4e6056f18d9fd.tar.zst
nixlib-32a93b58b2eab85e31cff79662c4e6056f18d9fd.zip
fishPlugins.plugin-git: init at 0.1
Diffstat (limited to 'pkgs/shells/fish')
-rw-r--r--pkgs/shells/fish/plugins/default.nix2
-rw-r--r--pkgs/shells/fish/plugins/plugin-git.nix20
2 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/shells/fish/plugins/default.nix b/pkgs/shells/fish/plugins/default.nix
index 7c160803a9c0..718dbfec7a64 100644
--- a/pkgs/shells/fish/plugins/default.nix
+++ b/pkgs/shells/fish/plugins/default.nix
@@ -32,6 +32,8 @@ lib.makeScope newScope (self: with self; {
 
   pisces = callPackage ./pisces.nix { };
 
+  plugin-git = callPackage ./plugin-git.nix { };
+
   puffer = callPackage ./puffer.nix { };
 
   pure = callPackage ./pure.nix { };
diff --git a/pkgs/shells/fish/plugins/plugin-git.nix b/pkgs/shells/fish/plugins/plugin-git.nix
new file mode 100644
index 000000000000..7d1774b642df
--- /dev/null
+++ b/pkgs/shells/fish/plugins/plugin-git.nix
@@ -0,0 +1,20 @@
+{ lib, buildFishPlugin, fetchFromGitHub }:
+
+buildFishPlugin rec {
+  pname = "plugin-git";
+  version = "0.1";
+
+  src = fetchFromGitHub {
+    owner = "jhillyerd";
+    repo = "plugin-git";
+    rev = "v0.1";
+    sha256 = "sha256-MfrRQdcj7UtIUgtqKjt4lqFLpA6YZgKjE03VaaypNzE";
+  };
+
+  meta = with lib; {
+    description = "Git plugin for fish (similar to oh-my-zsh git)";
+    homepage = "https://github.com/jhillyerd/plugin-git";
+    license = licenses.mit;
+    maintainers = with maintainers; [ unsolvedcypher ];
+  };
+}