2017-05-23 03:11:31 -07:00
|
|
|
{ stdenv, fetchFromGitHub, zsh }:
|
2016-10-02 15:07:23 -07:00
|
|
|
|
|
|
|
# To make use of this derivation, use the `programs.zsh.enableSyntaxHighlighting` option
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-03-03 15:53:39 -08:00
|
|
|
version = "0.7.1";
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "zsh-syntax-highlighting";
|
2017-05-23 03:11:31 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zsh-users";
|
|
|
|
repo = "zsh-syntax-highlighting";
|
|
|
|
rev = version;
|
2020-03-03 15:53:39 -08:00
|
|
|
sha256 = "03r6hpb5fy4yaakqm3lbf4xcvd408r44jgpv4lnzl9asp4sb9qc0";
|
2016-10-02 15:07:23 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ zsh ];
|
|
|
|
|
2019-11-04 17:10:31 -08:00
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
2016-10-02 15:07:23 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Fish shell like syntax highlighting for Zsh";
|
2020-03-03 15:53:39 -08:00
|
|
|
homepage = "https://github.com/zsh-users/zsh-syntax-highlighting";
|
2016-10-02 15:07:23 -07:00
|
|
|
license = licenses.bsd3;
|
2016-10-05 07:43:53 -07:00
|
|
|
platforms = platforms.unix;
|
2016-10-02 15:07:23 -07:00
|
|
|
maintainers = [ maintainers.loskutov ];
|
|
|
|
};
|
|
|
|
}
|