mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-20 20:20:26 +03:00
Merge pull request #278621 from Vonfry/update/fzf-tab-script
zsh-fzf-tab: add update script
This commit is contained in:
commit
264d49b13c
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, ncurses }:
|
{ stdenv, lib, fetchFromGitHub, ncurses, nix-update-script }:
|
||||||
|
|
||||||
let
|
let
|
||||||
INSTALL_PATH="${placeholder "out"}/share/fzf-tab";
|
INSTALL_PATH="${placeholder "out"}/share/fzf-tab";
|
||||||
@ -10,7 +10,7 @@ in stdenv.mkDerivation rec {
|
|||||||
owner = "Aloxaf";
|
owner = "Aloxaf";
|
||||||
repo = "fzf-tab";
|
repo = "fzf-tab";
|
||||||
rev = "c2b4aa5ad2532cca91f23908ac7f00efb7ff09c9";
|
rev = "c2b4aa5ad2532cca91f23908ac7f00efb7ff09c9";
|
||||||
sha256 = "sha256-gvZp8P3quOtcy1Xtt1LAW1cfZ/zCtnAmnWqcwrKel6w=";
|
hash = "sha256-gvZp8P3quOtcy1Xtt1LAW1cfZ/zCtnAmnWqcwrKel6w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
@ -44,6 +44,12 @@ in stdenv.mkDerivation rec {
|
|||||||
install -D modules/Src/aloxaf/fzftab.so ${INSTALL_PATH}/modules/Src/aloxaf/fzftab.so
|
install -D modules/Src/aloxaf/fzftab.so ${INSTALL_PATH}/modules/Src/aloxaf/fzftab.so
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = nix-update-script {
|
||||||
|
extraArgs = [ "--version" "branch=master" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/Aloxaf/fzf-tab";
|
homepage = "https://github.com/Aloxaf/fzf-tab";
|
||||||
description = "Replace zsh's default completion selection menu with fzf!";
|
description = "Replace zsh's default completion selection menu with fzf!";
|
||||||
|
Loading…
Reference in New Issue
Block a user