depot/third_party/nixpkgs/pkgs/tools/misc/ccze/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
779 B
Nix

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