Skip to content

Commit b5b85d0

Browse files
authored
ccze: 0.2.1-2 -> 0.2.1-8, move to by-name (#354257)
2 parents 36be531 + 710751d commit b5b85d0

File tree

1 file changed

+38
-14
lines changed

1 file changed

+38
-14
lines changed

pkgs/by-name/cc/ccze/package.nix

Lines changed: 38 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,58 @@
1-
{ lib, stdenv, fetchFromGitHub, autoconf, ncurses, pcre }:
1+
{
2+
lib,
3+
stdenv,
4+
fetchFromGitLab,
5+
autoconf,
6+
ncurses,
7+
pcre2,
8+
quilt,
9+
}:
210

3-
stdenv.mkDerivation rec {
11+
stdenv.mkDerivation (finalAttrs: {
412
pname = "ccze";
5-
version = "0.2.1-2";
13+
version = "0.2.1-8";
614

7-
src = fetchFromGitHub {
8-
owner = "madhouse";
15+
src = fetchFromGitLab {
16+
domain = "salsa.debian.org";
17+
owner = "debian";
918
repo = "ccze";
10-
rev = "ccze-${version}";
11-
hash = "sha256-LVwmbrq78mZcAEuAqjXTqLE5we83H9mcMPtxQx2Tn/c=";
19+
rev = "debian/${finalAttrs.version}";
20+
hash = "sha256-sESbs+HTDRX9w7c+LYnzQoemPIxAtqk27IVSTtiAGEk=";
1221
};
1322

14-
nativeBuildInputs = [ autoconf ];
23+
postPatch = ''
24+
QUILT_PATCHES=debian/patches quilt push -a
25+
'';
26+
27+
nativeBuildInputs = [
28+
autoconf
29+
quilt
30+
];
1531

16-
buildInputs = [ ncurses pcre ];
32+
buildInputs = [
33+
ncurses
34+
pcre2
35+
];
1736

1837
preConfigure = ''
1938
autoheader
2039
autoconf
2140
'';
2241

2342
meta = with lib; {
43+
mainProgram = "ccze";
2444
description = "Fast, modular log colorizer";
45+
homepage = "https://salsa.debian.org/debian/ccze";
46+
changelog = "https://salsa.debian.org/debian/ccze/-/raw/master/debian/changelog?ref_type=heads";
2547
longDescription = ''
26-
Fast log colorizer written in C, intended to be a drop-in replacement
27-
for the Perl colorize tool. Includes plugins for a variety of log
28-
formats (Apache, Postfix, Procmail, etc.).
48+
Fast log colorizer written in C, intended to be a drop-in replacement for the Perl colorize tool.
49+
Includes plugins for a variety of log formats (Apache, Postfix, Procmail, etc.).
2950
'';
3051
license = licenses.gpl2Plus;
31-
maintainers = with maintainers; [ malyn ];
52+
maintainers = with maintainers; [
53+
malyn
54+
philiptaron
55+
];
3256
platforms = platforms.linux;
3357
};
34-
}
58+
})

0 commit comments

Comments
 (0)