fishplugins.forgit: init "unstable-2021-04-09"

This commit is contained in:
happysalada 2021-04-26 19:54:29 +09:00 committed by Raphael Megzari
parent e190acea28
commit b164642941
2 changed files with 24 additions and 0 deletions

View file

@ -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 { };

View file

@ -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 ];
};
}