diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-04-17 14:03:07 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-04-17 14:47:32 -0500 |
commit | ddaea6ac77177c91576568af4b6f6d85195559af (patch) | |
tree | 0292a346327a613a52b95492aea9ed76d8c55dfe /pkgs/shells/zsh/zsh-syntax-highlighting | |
parent | d308ac923376b76183a0b4078f808ce40af8f86b (diff) | |
download | nixlib-ddaea6ac77177c91576568af4b6f6d85195559af.tar nixlib-ddaea6ac77177c91576568af4b6f6d85195559af.tar.gz nixlib-ddaea6ac77177c91576568af4b6f6d85195559af.tar.bz2 nixlib-ddaea6ac77177c91576568af4b6f6d85195559af.tar.lz nixlib-ddaea6ac77177c91576568af4b6f6d85195559af.tar.xz nixlib-ddaea6ac77177c91576568af4b6f6d85195559af.tar.zst nixlib-ddaea6ac77177c91576568af4b6f6d85195559af.zip |
pkgs/shells: move extensions to subdirs
These are not reaal shells and should go into their parent shell directory.
Diffstat (limited to 'pkgs/shells/zsh/zsh-syntax-highlighting')
-rw-r--r-- | pkgs/shells/zsh/zsh-syntax-highlighting/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/shells/zsh/zsh-syntax-highlighting/default.nix b/pkgs/shells/zsh/zsh-syntax-highlighting/default.nix new file mode 100644 index 000000000000..b7b44098fd7a --- /dev/null +++ b/pkgs/shells/zsh/zsh-syntax-highlighting/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchFromGitHub, zsh }: + +# To make use of this derivation, use the `programs.zsh.enableSyntaxHighlighting` option + +stdenv.mkDerivation rec { + version = "0.6.0"; + name = "zsh-syntax-highlighting-${version}"; + + src = fetchFromGitHub { + owner = "zsh-users"; + repo = "zsh-syntax-highlighting"; + rev = version; + sha256 = "0zmq66dzasmr5pwribyh4kbkk23jxbpdw4rjxx0i7dx8jjp2lzl4"; + }; + + buildInputs = [ zsh ]; + + installFlags = "PREFIX=$(out)"; + + meta = with stdenv.lib; { + description = "Fish shell like syntax highlighting for Zsh"; + homepage = https://github.com/zsh-users/zsh-syntax-highlighting; + license = licenses.bsd3; + platforms = platforms.unix; + maintainers = [ maintainers.loskutov ]; + }; +} |