about summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorhappysalada <raphael@megzari.com>2021-04-26 19:54:29 +0900
committerRaphael Megzari <raphael@megzari.com>2021-04-26 20:22:40 +0900
commitb164642941e7060f5c565e85746239e96f323cd1 (patch)
tree2d740ddc0e8f4f1fb22305bbdd6e38a04ba21f49 /pkgs/shells
parente190acea28db2f77969f533d351546bc471bed63 (diff)
fishplugins.forgit: init "unstable-2021-04-09"
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/fish/plugins/default.nix2
-rw-r--r--pkgs/shells/fish/plugins/forgit.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 c886173096e17..42252ccbe38c6 100644
--- a/pkgs/shells/fish/plugins/default.nix
+++ b/pkgs/shells/fish/plugins/default.nix
@@ -15,6 +15,8 @@ lib.makeScope newScope (self: with self; {
 
   foreign-env = callPackage ./foreign-env { };
 
+  forgit-fish = callPackage ./forgit.nix { };
+
   fzf-fish = callPackage ./fzf-fish.nix { };
 
   pure = callPackage ./pure.nix { };
diff --git a/pkgs/shells/fish/plugins/forgit.nix b/pkgs/shells/fish/plugins/forgit.nix
new file mode 100644
index 0000000000000..b905b7a258959
--- /dev/null
+++ b/pkgs/shells/fish/plugins/forgit.nix
@@ -0,0 +1,22 @@
+{ lib, buildFishPlugin, fetchFromGitHub, git, fzf }:
+
+buildFishPlugin rec {
+  pname = "forgit";
+  version = "unstable-2021-04-09";
+
+  buildInputs = [ git fzf ];
+
+  src = fetchFromGitHub {
+    owner = "wfxr";
+    repo = "forgit";
+    rev = "7806fc3ab37ac479c315eb54b164f67ba9ed17ea";
+    sha256 = "sha256-a7wjuqXe3+y5zlgSLk5J31WoORbieFimvtr0FQHRY5M=";
+  };
+
+  meta = with lib; {
+    description = "A utility tool powered by fzf for using git interactively.";
+    homepage = "https://github.com/wfxr/forgit";
+    license = licenses.mit;
+    maintainers = with maintainers; [ happysalada ];
+  };
+}