2014-07-07 16:23:54 +02:00
|
|
|
{stdenv, fetchurl, eventlog, pkgconfig, libestr, libee, json_c, libuuid, zlib, gnutls, libgcrypt, systemd, liblogging}:
|
2013-03-14 14:07:56 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2014-07-07 16:23:54 +02:00
|
|
|
name = "rsyslog-7.6.3";
|
2013-03-14 14:07:56 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-07-07 16:23:54 +02:00
|
|
|
url = http://www.rsyslog.com/files/download/rsyslog/rsyslog-7.6.3.tar.gz;
|
|
|
|
sha256 = "1v7mi2jjyn3awrfxqvd3mg64m5r027dgpbzd511mlvlbbw1mjcq1";
|
2013-03-14 14:07:56 +01:00
|
|
|
};
|
|
|
|
|
2014-07-07 16:23:54 +02:00
|
|
|
buildInputs = [pkgconfig libestr libee json_c libuuid zlib gnutls libgcrypt systemd liblogging];
|
2013-03-14 15:27:34 +01:00
|
|
|
|
2013-12-23 17:42:20 +01:00
|
|
|
preConfigure = ''
|
|
|
|
export configureFlags="$configureFlags --enable-gnutls --enable-cached-man-pages --enable-imjournal --with-systemdsystemunitdir=$out/etc/systemd/system"
|
|
|
|
'';
|
2013-03-14 14:07:56 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://www.rsyslog.com/";
|
2013-10-06 11:49:53 +02:00
|
|
|
description = "Enhanced syslog implementation";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2013-03-14 14:07:56 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|