2021-09-19 16:56:10 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoconf, ncurses, pcre }:
|
2015-01-24 19:17:53 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-02 09:38:45 +00:00
|
|
|
pname = "ccze";
|
|
|
|
version = "0.2.1-2";
|
2015-01-24 19:17:53 +00:00
|
|
|
|
2021-09-19 16:56:10 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "madhouse";
|
|
|
|
repo = "ccze";
|
|
|
|
rev = "ccze-${version}";
|
|
|
|
hash = "sha256-LVwmbrq78mZcAEuAqjXTqLE5we83H9mcMPtxQx2Tn/c=";
|
2015-01-24 19:17:53 +00:00
|
|
|
};
|
|
|
|
|
2021-10-12 17:58:29 +00:00
|
|
|
nativeBuildInputs = [ autoconf ];
|
2015-01-24 19:17:53 +00:00
|
|
|
|
2021-10-12 17:58:29 +00:00
|
|
|
buildInputs = [ ncurses pcre ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
autoheader
|
|
|
|
autoconf
|
|
|
|
'';
|
2015-01-24 19:17:53 +00:00
|
|
|
|
2021-01-11 07:54:33 +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;
|
|
|
|
};
|
|
|
|
}
|