mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
zsh-fast-syntax-highlighting: init at 1.54 (#65429)
This commit is contained in:
parent
91b02cd86b
commit
c20f765bb4
30
pkgs/shells/zsh/zsh-fast-syntax-highlighting/default.nix
Normal file
30
pkgs/shells/zsh/zsh-fast-syntax-highlighting/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ stdenvNoCC, lib, fetchFromGitHub }:
|
||||||
|
|
||||||
|
stdenvNoCC.mkDerivation rec {
|
||||||
|
pname = "zsh-fast-syntax-highlighting";
|
||||||
|
version = "1.54";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "zdharma";
|
||||||
|
repo = "fast-syntax-highlighting";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "019hda2pj8lf7px4h1z07b9l6icxx4b2a072jw36lz9bh6jahp32";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontConfigure = true;
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
plugindir="$out/share/zsh/site-functions"
|
||||||
|
|
||||||
|
mkdir -p "$plugindir"
|
||||||
|
cp -r -- {,_,-}fast-* chroma themes "$plugindir"/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Syntax-highlighting for Zshell";
|
||||||
|
homepage = "https://github.com/zdharma/fast-syntax-highlighting";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
@ -7466,6 +7466,8 @@ in
|
|||||||
|
|
||||||
zsh-syntax-highlighting = callPackage ../shells/zsh/zsh-syntax-highlighting { };
|
zsh-syntax-highlighting = callPackage ../shells/zsh/zsh-syntax-highlighting { };
|
||||||
|
|
||||||
|
zsh-fast-syntax-highlighting = callPackage ../shells/zsh/zsh-fast-syntax-highlighting { };
|
||||||
|
|
||||||
zsh-autosuggestions = callPackage ../shells/zsh/zsh-autosuggestions { };
|
zsh-autosuggestions = callPackage ../shells/zsh/zsh-autosuggestions { };
|
||||||
|
|
||||||
zsh-powerlevel9k = callPackage ../shells/zsh/zsh-powerlevel9k { };
|
zsh-powerlevel9k = callPackage ../shells/zsh/zsh-powerlevel9k { };
|
||||||
|
Loading…
Reference in New Issue
Block a user