about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/ccze/default.nix
blob: af37d7a33c1a04c9fc7cb4dabc5a876fc5e2aad8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, 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 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;
  };
}