1{ stdenv, fetchurl, pkgconfig, libestr, json_c, pcre }:
2
3stdenv.mkDerivation rec {
4 name = "liblognorm-1.1.2";
5
6 src = fetchurl {
7 url = "http://www.liblognorm.com/files/download/${name}.tar.gz";
8 sha256 = "0v2k5awr6vsbp36gybrys3zfkl675sywhsh4lnm7f21inlpi2nlk";
9 };
10
11 nativeBuildInputs = [ pkgconfig ];
12 buildInputs = [ libestr json_c pcre ];
13
14 configureFlags = [ "--enable-regexp" ];
15
16 meta = with stdenv.lib; {
17 homepage = http://www.liblognorm.com/;
18 description = "Help to make sense out of syslog data, or, actually, any event data that is present in text form";
19 license = licenses.lgpl21;
20 platforms = platforms.all;
21 maintainers = with maintainers; [ wkennington ];
22 };
23}