diff options
author | Jason "Don" O'Conal <lovek323@gmail.com> | 2013-07-31 14:11:31 +1000 |
---|---|---|
committer | Jason "Don" O'Conal <lovek323@gmail.com> | 2013-08-06 09:42:24 +1000 |
commit | f3aedccfd4c6dfcf8d01efe310f7f7a5416dc8c9 (patch) | |
tree | 4d8a9db8ca9b5bd5d6b4a5d62bd460a7dfdfc29d /pkgs/tools/misc/grc | |
parent | 7e0bd8d360615c92225ed89a66ded6507fbf9859 (diff) | |
download | nixpkgs-f3aedccfd4c6dfcf8d01efe310f7f7a5416dc8c9.tar nixpkgs-f3aedccfd4c6dfcf8d01efe310f7f7a5416dc8c9.tar.gz nixpkgs-f3aedccfd4c6dfcf8d01efe310f7f7a5416dc8c9.tar.bz2 nixpkgs-f3aedccfd4c6dfcf8d01efe310f7f7a5416dc8c9.tar.lz nixpkgs-f3aedccfd4c6dfcf8d01efe310f7f7a5416dc8c9.tar.xz nixpkgs-f3aedccfd4c6dfcf8d01efe310f7f7a5416dc8c9.tar.zst nixpkgs-f3aedccfd4c6dfcf8d01efe310f7f7a5416dc8c9.zip |
grc: add expression
Diffstat (limited to 'pkgs/tools/misc/grc')
-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 00000000000..ea54ab4a543 --- /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. + ''; + }; +} + |