diff --git a/lib/maintainers.nix b/lib/maintainers.nix index e3095bdb4971..6947bf012aaf 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -106,6 +106,7 @@ ludo = "Ludovic Courtès "; madjar = "Georges Dubus "; magnetophon = "Bart Brouns "; + malyn = "Michael Alyn Miller "; manveru = "Michael Fellinger "; marcweber = "Marc Weber "; matejc = "Matej Cotman "; diff --git a/pkgs/tools/misc/ccze/default.nix b/pkgs/tools/misc/ccze/default.nix new file mode 100644 index 000000000000..409297de9f75 --- /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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c6b4875d3035..104d3b049da1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -838,6 +838,8 @@ let ccrypt = callPackage ../tools/security/ccrypt { }; + ccze = callPackage ../tools/misc/ccze { }; + cdecl = callPackage ../development/tools/cdecl { }; cdrdao = callPackage ../tools/cd-dvd/cdrdao { };