Merge pull request #216387 from MrFreezeex/zsh-f-sy-h

This commit is contained in:
Artturi 2023-10-15 05:59:43 +03:00 committed by GitHub
commit 53dc0a0eb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ stdenvNoCC, lib, fetchFromGitHub }:
stdenvNoCC.mkDerivation rec {
pname = "zsh-f-sy-h";
version = "1.67";
src = fetchFromGitHub {
owner = "z-shell";
repo = "F-Sy-H";
rev = "v${version}";
sha256 = "0bcsc4kgda577fs3bnvymmxdz3z5mf19pn8ngfqsklabnf79f5nf";
};
strictDeps = true;
dontConfigure = true;
dontBuild = true;
installPhase = ''
plugindir="$out/share/zsh/site-functions"
mkdir -p "$plugindir"
cp -r -- F-Sy-H.plugin.zsh chroma functions share themes "$plugindir"/
'';
meta = with lib; {
description = "Feature-rich Syntax Highlighting for Zsh";
homepage = "https://github.com/z-shell/F-Sy-H";
license = licenses.bsd3;
maintainers = with maintainers; [ mrfreezeex ];
platforms = platforms.unix;
};
}

View file

@ -15289,6 +15289,8 @@ with pkgs;
zsh-system-clipboard = callPackage ../shells/zsh/zsh-system-clipboard { };
zsh-f-sy-h = callPackage ../shells/zsh/zsh-f-sy-h { };
zsh-fast-syntax-highlighting = callPackage ../shells/zsh/zsh-fast-syntax-highlighting { };
zsh-forgit = callPackage ../shells/zsh/zsh-forgit { };