blob: 2c028485ccd36d980209d9b060b90dca17912270 (
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
27
28
29
30
31
32
33
34
|
{ lib, stdenv, fetchFromGitHub, autoconf, ncurses, pcre }:
stdenv.mkDerivation rec {
pname = "ccze";
version = "0.2.1-2";
src = fetchFromGitHub {
owner = "madhouse";
repo = "ccze";
rev = "ccze-${version}";
hash = "sha256-LVwmbrq78mZcAEuAqjXTqLE5we83H9mcMPtxQx2Tn/c=";
};
nativeBuildInputs = [ autoconf ];
buildInputs = [ 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.gpl2Plus;
maintainers = with maintainers; [ malyn ];
platforms = platforms.linux;
};
}
|