2013-07-31 05:11:31 +01:00
|
|
|
{ stdenv, fetchurl, python }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-09-17 18:31:49 +01:00
|
|
|
version = "1.5";
|
2014-01-10 08:16:41 +00:00
|
|
|
name = "grc-${version}";
|
2013-07-31 05:11:31 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-01-10 08:16:41 +00:00
|
|
|
url = "http://korpus.juls.savba.sk/~garabik/software/grc/grc_${version}.tar.gz";
|
2014-09-17 18:31:49 +01:00
|
|
|
sha256 = "1p6xffp5mmnaw9llvrd4rc7zd4l7b1m62dlmn3c8p1ina831yn52";
|
2013-07-31 05:11:31 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
sed -i s%/usr%% install.sh
|
|
|
|
sed -i "s% /usr/bin/python%${python}/bin/python%" grc
|
|
|
|
sed -i "s% /usr/bin/python%${python}/bin/python%" grc
|
|
|
|
./install.sh "$out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Yet another colouriser for beautifying your logfiles or output of commands";
|
2013-07-31 05:11:31 +01:00
|
|
|
homepage = http://korpus.juls.savba.sk/~garabik/software/grc.html;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ lovek323 ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Generic Colouriser is yet another colouriser (written in Python) for
|
|
|
|
beautifying your logfiles or output of commands.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|