ccze: 0.2.1-2 -> 0.2.1-8
Debian appears to be the only maintained source for this package. Added a changelog and a mainProgram.
This commit is contained in:
parent
7d8f4d6b44
commit
710751d119
@ -1,28 +1,37 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchFromGitHub,
|
fetchFromGitLab,
|
||||||
autoconf,
|
autoconf,
|
||||||
ncurses,
|
ncurses,
|
||||||
pcre,
|
pcre2,
|
||||||
|
quilt,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "ccze";
|
pname = "ccze";
|
||||||
version = "0.2.1-2";
|
version = "0.2.1-8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitLab {
|
||||||
owner = "madhouse";
|
domain = "salsa.debian.org";
|
||||||
|
owner = "debian";
|
||||||
repo = "ccze";
|
repo = "ccze";
|
||||||
rev = "ccze-${version}";
|
rev = "debian/${finalAttrs.version}";
|
||||||
hash = "sha256-LVwmbrq78mZcAEuAqjXTqLE5we83H9mcMPtxQx2Tn/c=";
|
hash = "sha256-sESbs+HTDRX9w7c+LYnzQoemPIxAtqk27IVSTtiAGEk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoconf ];
|
postPatch = ''
|
||||||
|
QUILT_PATCHES=debian/patches quilt push -a
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoconf
|
||||||
|
quilt
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
ncurses
|
ncurses
|
||||||
pcre
|
pcre2
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
@ -31,14 +40,19 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
mainProgram = "ccze";
|
||||||
description = "Fast, modular log colorizer";
|
description = "Fast, modular log colorizer";
|
||||||
|
homepage = "https://salsa.debian.org/debian/ccze";
|
||||||
|
changelog = "https://salsa.debian.org/debian/ccze/-/raw/master/debian/changelog?ref_type=heads";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Fast log colorizer written in C, intended to be a drop-in replacement
|
Fast log colorizer written in C, intended to be a drop-in replacement for the Perl colorize tool.
|
||||||
for the Perl colorize tool. Includes plugins for a variety of log
|
Includes plugins for a variety of log formats (Apache, Postfix, Procmail, etc.).
|
||||||
formats (Apache, Postfix, Procmail, etc.).
|
|
||||||
'';
|
'';
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with maintainers; [ malyn ];
|
maintainers = with maintainers; [
|
||||||
|
malyn
|
||||||
|
philiptaron
|
||||||
|
];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user