3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/ccze/default.nix

27 lines
774 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, autoconf, ncurses, pcre }:
2015-01-24 19:17:53 +00:00
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 ";
2015-01-24 19:17:53 +00:00
meta = with lib; {
2015-01-24 19:17:53 +00:00
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;
};
}