3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #793 from lovek323/grcat

grc: add expression
This commit is contained in:
Domen Kožar 2013-08-07 05:13:53 -07:00
commit ffed739441
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ stdenv, fetchurl, python }:
stdenv.mkDerivation rec {
version = "1.4";
name = "grc_${version}";
src = fetchurl {
url = "http://korpus.juls.savba.sk/~garabik/software/grc/${name}.tar.gz";
sha256 = "1l7lskxfjk32kkv4aaqw5qcxvh972nab3x2jzy67m1aa0zpcbzdv";
};
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; {
description = "Yet another colouriser for beautifying your logfiles or output of commands.";
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.
'';
};
}

View file

@ -448,6 +448,8 @@ let
apg = callPackage ../tools/security/apg { };
grc = callPackage ../tools/misc/grc { };
otool = callPackage ../os-specific/darwin/otool { };
pass = callPackage ../tools/security/pass { };