1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 08:01:14 +00:00
nixpkgs/pkgs/tools/system/rsyslog/default.nix

24 lines
795 B
Nix

{stdenv, fetchurl, eventlog, pkgconfig, libestr, libee, json_c, libuuid, zlib, gnutls, libgcrypt, systemd}:
stdenv.mkDerivation {
name = "rsyslog-7.4.7";
src = fetchurl {
url = http://www.rsyslog.com/files/download/rsyslog/rsyslog-7.4.7.tar.gz;
sha256 = "5fc7f930fa748bb6a9d86a3fc831eb1a14107db81b67d79ba8f113cf2776fa21";
};
buildInputs = [pkgconfig libestr libee json_c libuuid zlib gnutls libgcrypt systemd];
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 = "GPLv3";
platforms = stdenv.lib.platforms.linux;
};
}