tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
liblognorm: Refactor package definitions
Guy Chronister
8 months ago
420f7652
caacc294
+7
-7
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
li
liblognorm
package.nix
+7
-7
pkgs/by-name/li/liblognorm/package.nix
···
9
9
fastJson,
10
10
}:
11
11
12
12
-
stdenv.mkDerivation rec {
12
12
+
stdenv.mkDerivation (finalAttrs: {
13
13
pname = "liblognorm";
14
14
version = "2.0.6";
15
15
16
16
src = fetchurl {
17
17
-
url = "http://www.liblognorm.com/files/download/liblognorm-${version}.tar.gz";
18
18
-
sha256 = "1wpn15c617r7lfm1z9d5aggmmi339s6yn4pdz698j0r2bkl5gw6g";
17
17
+
url = "http://www.liblognorm.com/files/download/liblognorm-${finalAttrs.version}.tar.gz";
18
18
+
hash = "sha256-z/BX6FwiA4mS+e0S641OY8Ra31OlpR+qoyefYFgJ9vI=";
19
19
};
20
20
21
21
nativeBuildInputs = [ pkg-config ];
···
28
28
29
29
configureFlags = [ "--enable-regexp" ];
30
30
31
31
-
meta = with lib; {
31
31
+
meta = {
32
32
description = "Help to make sense out of syslog data, or, actually, any event data that is present in text form";
33
33
homepage = "https://www.liblognorm.com/";
34
34
-
license = licenses.lgpl21;
34
34
+
license = lib.licenses.lgpl21;
35
35
mainProgram = "lognormalizer";
36
36
-
platforms = platforms.all;
36
36
+
platforms = lib.platforms.all;
37
37
};
38
38
-
}
38
38
+
})