nixpkgs/pkgs/tools/misc/ccze/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
846 B
Nix
Raw Normal View History

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 {
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
};
nativeBuildInputs = [ autoconf ];
2015-01-24 19:17:53 +00:00
buildInputs = [ ncurses pcre ];
preConfigure = ''
autoheader
autoconf
'';
2015-01-24 19:17:53 +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.).
'';
2024-04-26 11:35:31 +00:00
license = licenses.gpl2Plus;
2015-01-24 19:17:53 +00:00
maintainers = with maintainers; [ malyn ];
platforms = platforms.linux;
};
}