nixpkgs/pkgs/tools/misc/grc/default.nix
Bjørn Forsman 083d0890f5 More description fixes
* Remove package name
* Start with upper case letter
* Remove trailing period

Also reword some descriptions and move some long descriptions to
longDescription.

I'm not touching generated packages.
2013-10-06 12:01:38 +02:00

32 lines
967 B
Nix

{ 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.
'';
};
}