|
1 | | -{ lib, stdenv, fetchFromGitHub, autoconf, ncurses, pcre }: |
| 1 | +{ |
| 2 | + lib, |
| 3 | + stdenv, |
| 4 | + fetchFromGitLab, |
| 5 | + autoconf, |
| 6 | + ncurses, |
| 7 | + pcre2, |
| 8 | + quilt, |
| 9 | +}: |
2 | 10 |
|
3 | | -stdenv.mkDerivation rec { |
| 11 | +stdenv.mkDerivation (finalAttrs: { |
4 | 12 | pname = "ccze"; |
5 | | - version = "0.2.1-2"; |
| 13 | + version = "0.2.1-8"; |
6 | 14 |
|
7 | | - src = fetchFromGitHub { |
8 | | - owner = "madhouse"; |
| 15 | + src = fetchFromGitLab { |
| 16 | + domain = "salsa.debian.org"; |
| 17 | + owner = "debian"; |
9 | 18 | repo = "ccze"; |
10 | | - rev = "ccze-${version}"; |
11 | | - hash = "sha256-LVwmbrq78mZcAEuAqjXTqLE5we83H9mcMPtxQx2Tn/c="; |
| 19 | + rev = "debian/${finalAttrs.version}"; |
| 20 | + hash = "sha256-sESbs+HTDRX9w7c+LYnzQoemPIxAtqk27IVSTtiAGEk="; |
12 | 21 | }; |
13 | 22 |
|
14 | | - nativeBuildInputs = [ autoconf ]; |
| 23 | + postPatch = '' |
| 24 | + QUILT_PATCHES=debian/patches quilt push -a |
| 25 | + ''; |
| 26 | + |
| 27 | + nativeBuildInputs = [ |
| 28 | + autoconf |
| 29 | + quilt |
| 30 | + ]; |
15 | 31 |
|
16 | | - buildInputs = [ ncurses pcre ]; |
| 32 | + buildInputs = [ |
| 33 | + ncurses |
| 34 | + pcre2 |
| 35 | + ]; |
17 | 36 |
|
18 | 37 | preConfigure = '' |
19 | 38 | autoheader |
20 | 39 | autoconf |
21 | 40 | ''; |
22 | 41 |
|
23 | 42 | meta = with lib; { |
| 43 | + mainProgram = "ccze"; |
24 | 44 | 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"; |
25 | 47 | 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.). |
29 | 50 | ''; |
30 | 51 | license = licenses.gpl2Plus; |
31 | | - maintainers = with maintainers; [ malyn ]; |
| 52 | + maintainers = with maintainers; [ |
| 53 | + malyn |
| 54 | + philiptaron |
| 55 | + ]; |
32 | 56 | platforms = platforms.linux; |
33 | 57 | }; |
34 | | -} |
| 58 | +}) |
0 commit comments