diff options
author | Michael Alyn Miller <malyn@strangeGizmo.com> | 2015-01-24 11:17:53 -0800 |
---|---|---|
committer | Michael Alyn Miller <malyn@strangeGizmo.com> | 2015-01-24 15:00:55 -0800 |
commit | 6cd01d1d6fa22c8471b50a72ac88e10b99774aea (patch) | |
tree | 33c2ae64d4d16119f9cf523d74bf84b5308306e7 /pkgs/tools/misc/ccze | |
parent | 3532d658b5ef2174851a50da6e8ce2be0bd6e494 (diff) |
Add ccze
Diffstat (limited to 'pkgs/tools/misc/ccze')
-rw-r--r-- | pkgs/tools/misc/ccze/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/misc/ccze/default.nix b/pkgs/tools/misc/ccze/default.nix new file mode 100644 index 0000000000000..409297de9f750 --- /dev/null +++ b/pkgs/tools/misc/ccze/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchurl, autoconf, ncurses, pcre }: + +stdenv.mkDerivation rec { + name = "ccze-0.2.1-2"; + + src = fetchurl { + url = "https://github.com/madhouse/ccze/archive/${name}.tar.gz"; + sha256 = "1amavfvyls4v0gnikk43n2rpciaspxifgrmvi99qj6imv3mfg66n"; + }; + + buildInputs = [ autoconf ncurses pcre ]; + + preConfigure = '' autoheader && autoconf ''; + + meta = with stdenv.lib; { + description = "Fast, modular log colorizer"; + longDescription = '' + Fast log colorizer written in C, intended to be a drop-in replacement + for the Perl colorize tool. Includes plugins for a variety of log + formats (Apache, Postfix, Procmail, etc.). + ''; + license = licenses.gpl2; + maintainers = with maintainers; [ malyn ]; + platforms = platforms.linux; + }; +} |