1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/shells/zsh/zsh-syntax-highlighting/default.nix
Matthew Bauer ddaea6ac77 pkgs/shells: move extensions to subdirs
These are not reaal shells and should go into their parent shell
directory.
2018-04-17 14:47:32 -05:00

28 lines
738 B
Nix

{ 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 ];
};
}