3
0
Fork 0
forked from mirrors/nixpkgs

grc: 1.10.1 -> 1.11

This commit is contained in:
Peter Hoeg 2017-04-26 22:44:57 +08:00
parent 9d3c118320
commit 4639e68fd1

View file

@ -2,18 +2,20 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "grc-${version}"; name = "grc-${version}";
version = "1.10.1"; version = "1.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "garabik"; owner = "garabik";
repo = "grc"; repo = "grc";
rev = "v${version}"; rev = "v${version}";
sha256 = "1c2ndnbyznb608h3s99fbcyh4qb1ccipxm15lyszrrks0w2llbah"; sha256 = "0slxkjg8xf5rg5pqgh4g2p1qxr5m9f6ds7zg7vh2xqzkmwqv18kp";
}; };
buildInputs = with python3Packages; [ wrapPython makeWrapper ]; buildInputs = with python3Packages; [ wrapPython makeWrapper ];
installPhase = '' installPhase = ''
runHook preInstall
./install.sh "$out" "$out" ./install.sh "$out" "$out"
for f in $out/bin/* ; do for f in $out/bin/* ; do
@ -25,13 +27,15 @@ stdenv.mkDerivation rec {
wrapProgram $f \ wrapProgram $f \
--prefix PATH : $out/bin --prefix PATH : $out/bin
done done
runHook postInstall
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Yet another colouriser for beautifying your logfiles or output of commands"; description = "Yet another colouriser for beautifying your logfiles or output of commands";
homepage = http://korpus.juls.savba.sk/~garabik/software/grc.html; homepage = http://korpus.juls.savba.sk/~garabik/software/grc.html;
license = licenses.gpl2; license = licenses.gpl2;
maintainers = with maintainers; [ lovek323 AndersonTorres ]; maintainers = with maintainers; [ lovek323 AndersonTorres peterhoeg ];
platforms = platforms.unix; platforms = platforms.unix;
longDescription = '' longDescription = ''