diff options
author | Domen Kožar <domen@dev.si> | 2013-08-07 05:13:53 -0700 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2013-08-07 05:13:53 -0700 |
commit | ffed739441b454e0227d0ff650636c12a3bc38ae (patch) | |
tree | 8ad8fa58590ba3357367e3f98fc787fedddf17db /pkgs/tools | |
parent | 3cf22b53070cb9338405f223e55c6e9bcc77ea09 (diff) | |
parent | f3aedccfd4c6dfcf8d01efe310f7f7a5416dc8c9 (diff) | |
download | nixlib-ffed739441b454e0227d0ff650636c12a3bc38ae.tar nixlib-ffed739441b454e0227d0ff650636c12a3bc38ae.tar.gz nixlib-ffed739441b454e0227d0ff650636c12a3bc38ae.tar.bz2 nixlib-ffed739441b454e0227d0ff650636c12a3bc38ae.tar.lz nixlib-ffed739441b454e0227d0ff650636c12a3bc38ae.tar.xz nixlib-ffed739441b454e0227d0ff650636c12a3bc38ae.tar.zst nixlib-ffed739441b454e0227d0ff650636c12a3bc38ae.zip |
Merge pull request #793 from lovek323/grcat
grc: add expression
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/grc/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/misc/grc/default.nix b/pkgs/tools/misc/grc/default.nix new file mode 100644 index 000000000000..ea54ab4a543d --- /dev/null +++ b/pkgs/tools/misc/grc/default.nix @@ -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. + ''; + }; +} + |