zsh-syntax-highlighting: 0.4.1 -> 0.5.0

This commit is contained in:
Robin Gloster 2017-05-23 12:11:31 +02:00
parent d50c716162
commit 39e6ad6799
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -1,25 +1,21 @@
{ stdenv, fetchurl, zsh }:
{ stdenv, fetchFromGitHub, zsh }:
# To make use of this derivation, use the `programs.zsh.enableSyntaxHighlighting` option
let
pkgName = "zsh-syntax-highlighting";
version = "0.4.1";
in
stdenv.mkDerivation rec {
name = "${pkgName}-${version}";
version = "0.5.0";
name = "zsh-syntax-highlighting-${version}";
src = fetchurl {
url = "https://github.com/zsh-users/${pkgName}/archive/${version}.tar.gz";
sha256 = "15sih7blqz11d8wdybx38d91vgcq9jg3q0205r26138si0g9q6wp";
src = fetchFromGitHub {
owner = "zsh-users";
repo = "zsh-syntax-highlighting";
rev = version;
sha256 = "0k0m5aw67lhi4z143sdawx93y1892scvvdfdnjvljb4hf0vzs2ww";
};
buildInputs = [ zsh ];
installFlags="PREFIX=$(out)";
installFlags = "PREFIX=$(out)";
meta = with stdenv.lib; {
description = "Fish shell like syntax highlighting for Zsh";