diff options
author | Martino Fontana <tinozzo123@tutanota.com> | 2023-04-04 14:01:21 +0200 |
---|---|---|
committer | Yt <happysalada@proton.me> | 2023-04-04 11:54:11 -0400 |
commit | 1f6987ce7e4a1c88d3b38ff568a81822ed2c27e9 (patch) | |
tree | f1eaa4792a5408cb836fd8b6c45c1f0f25c30a46 /pkgs/shells/fish | |
parent | 460168712363202aaecc2bf608598f1a8957e43d (diff) |
fishPlugins.forgit: unstable-2022-10-14 -> 23.04.0
Diff: https://github.com/wfxr/forgit/compare/2872548075e63bc83a0b960e2813b16571998563...23.04.0
Diffstat (limited to 'pkgs/shells/fish')
-rw-r--r-- | pkgs/shells/fish/plugins/forgit.nix | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/pkgs/shells/fish/plugins/forgit.nix b/pkgs/shells/fish/plugins/forgit.nix index 3c746c6fd6120..80a40aff0e99e 100644 --- a/pkgs/shells/fish/plugins/forgit.nix +++ b/pkgs/shells/fish/plugins/forgit.nix @@ -1,22 +1,20 @@ -{ lib, buildFishPlugin, fetchFromGitHub, git, fzf }: +{ lib, buildFishPlugin, fetchFromGitHub }: buildFishPlugin rec { pname = "forgit"; - version = "unstable-2022-10-14"; - - preFixup = '' - substituteInPlace $out/share/fish/vendor_conf.d/forgit.plugin.fish \ - --replace "fzf " "${fzf}/bin/fzf " \ - --replace "git " "${git}/bin/git " - ''; + version = "23.04.0"; src = fetchFromGitHub { owner = "wfxr"; repo = "forgit"; - rev = "2872548075e63bc83a0b960e2813b16571998563"; - sha256 = "sha256-NKL4c4k9Nath8NQ3sWUTGUzp517jRX4v0qVaKMJSMrw="; + rev = version; + sha256 = "sha256-3lvYIuzuJw0CQlaAQG6hAyfUgSXM+3BOmKRVDNFUN/U="; }; + postInstall = '' + cp -r bin $out/share/fish/vendor_conf.d/ + ''; + meta = with lib; { description = "A utility tool powered by fzf for using git interactively."; homepage = "https://github.com/wfxr/forgit"; |