mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
24 lines
823 B
Nix
24 lines
823 B
Nix
{stdenv, fetchurl, eventlog, pkgconfig, libestr, libee, json_c, libuuid, zlib, gnutls, libgcrypt, systemd, liblogging}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "rsyslog-7.6.3";
|
|
|
|
src = fetchurl {
|
|
url = http://www.rsyslog.com/files/download/rsyslog/rsyslog-7.6.3.tar.gz;
|
|
sha256 = "1v7mi2jjyn3awrfxqvd3mg64m5r027dgpbzd511mlvlbbw1mjcq1";
|
|
};
|
|
|
|
buildInputs = [pkgconfig libestr libee json_c libuuid zlib gnutls libgcrypt systemd liblogging];
|
|
|
|
preConfigure = ''
|
|
export configureFlags="$configureFlags --enable-gnutls --enable-cached-man-pages --enable-imjournal --with-systemdsystemunitdir=$out/etc/systemd/system"
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "http://www.rsyslog.com/";
|
|
description = "Enhanced syslog implementation";
|
|
license = stdenv.lib.licenses.gpl3;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|