nixpkgs/pkgs/tools/system/rsyslog/default.nix

24 lines
795 B
Nix
Raw Normal View History

{stdenv, fetchurl, eventlog, pkgconfig, libestr, libee, json_c, libuuid, zlib, gnutls, libgcrypt, systemd}:
2013-03-14 13:07:56 +00:00
stdenv.mkDerivation {
name = "rsyslog-7.4.7";
2013-03-14 13:07:56 +00:00
src = fetchurl {
url = http://www.rsyslog.com/files/download/rsyslog/rsyslog-7.4.7.tar.gz;
sha256 = "5fc7f930fa748bb6a9d86a3fc831eb1a14107db81b67d79ba8f113cf2776fa21";
2013-03-14 13:07:56 +00:00
};
buildInputs = [pkgconfig libestr libee json_c libuuid zlib gnutls libgcrypt systemd];
2013-03-14 14:27:34 +00:00
preConfigure = ''
export configureFlags="$configureFlags --enable-gnutls --enable-cached-man-pages --enable-imjournal --with-systemdsystemunitdir=$out/etc/systemd/system"
'';
2013-03-14 13:07:56 +00:00
meta = {
homepage = "http://www.rsyslog.com/";
description = "Enhanced syslog implementation";
2013-03-14 13:07:56 +00:00
license = "GPLv3";
platforms = stdenv.lib.platforms.linux;
};
}