2013-07-31 06:11:31 +02:00
|
|
|
{ stdenv, fetchurl, python }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-04-05 23:17:07 +02:00
|
|
|
version = "1.9";
|
2014-01-10 09:16:41 +01:00
|
|
|
name = "grc-${version}";
|
2013-07-31 06:11:31 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-03-27 16:57:03 +01:00
|
|
|
url = "http://korpus.juls.savba.sk/~garabik/software/grc/grc_${version}.orig.tar.gz";
|
2015-04-05 23:17:07 +02:00
|
|
|
sha256 = "0nsgqpijhpinnzscmpnhcjahv8yivz0g65h8zsly2md23ibnwqj1";
|
2013-07-31 06:11:31 +02: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 11:49:53 +02:00
|
|
|
description = "Yet another colouriser for beautifying your logfiles or output of commands";
|
2013-07-31 06:11:31 +02:00
|
|
|
homepage = http://korpus.juls.savba.sk/~garabik/software/grc.html;
|
|
|
|
license = licenses.gpl2;
|
2015-04-05 23:17:07 +02:00
|
|
|
maintainers = with maintainers; [ lovek323 AndersonTorres ];
|
2013-07-31 06:11:31 +02:00
|
|
|
platforms = platforms.unix;
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Generic Colouriser is yet another colouriser (written in Python) for
|
|
|
|
beautifying your logfiles or output of commands.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|