-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ccze: 0.2.1-2 -> 0.2.1-8, move to by-name (#354257)
- Loading branch information
Showing
1 changed file
with
38 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,58 @@ | ||
{ lib, stdenv, fetchFromGitHub, autoconf, ncurses, pcre }: | ||
{ | ||
lib, | ||
stdenv, | ||
fetchFromGitLab, | ||
autoconf, | ||
ncurses, | ||
pcre2, | ||
quilt, | ||
}: | ||
|
||
stdenv.mkDerivation rec { | ||
stdenv.mkDerivation (finalAttrs: { | ||
pname = "ccze"; | ||
version = "0.2.1-2"; | ||
version = "0.2.1-8"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "madhouse"; | ||
src = fetchFromGitLab { | ||
domain = "salsa.debian.org"; | ||
owner = "debian"; | ||
repo = "ccze"; | ||
rev = "ccze-${version}"; | ||
hash = "sha256-LVwmbrq78mZcAEuAqjXTqLE5we83H9mcMPtxQx2Tn/c="; | ||
rev = "debian/${finalAttrs.version}"; | ||
hash = "sha256-sESbs+HTDRX9w7c+LYnzQoemPIxAtqk27IVSTtiAGEk="; | ||
}; | ||
|
||
nativeBuildInputs = [ autoconf ]; | ||
postPatch = '' | ||
QUILT_PATCHES=debian/patches quilt push -a | ||
''; | ||
|
||
nativeBuildInputs = [ | ||
autoconf | ||
quilt | ||
]; | ||
|
||
buildInputs = [ ncurses pcre ]; | ||
buildInputs = [ | ||
ncurses | ||
pcre2 | ||
]; | ||
|
||
preConfigure = '' | ||
autoheader | ||
autoconf | ||
''; | ||
|
||
meta = with lib; { | ||
mainProgram = "ccze"; | ||
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 = '' | ||
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.). | ||
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 ]; | ||
maintainers = with maintainers; [ | ||
malyn | ||
philiptaron | ||
]; | ||
platforms = platforms.linux; | ||
}; | ||
} | ||
}) |