1 { lib, stdenv, fetchurl, pkg-config
5 stdenv.mkDerivation rec {
10 url = "http://download.rsyslog.com/liblogging/liblogging-${version}.tar.gz";
11 sha256 = "14xz00mq07qmcgprlj5b2r21ljgpa4sbwmpr6jm2wrf8wms6331k";
14 nativeBuildInputs = [ pkg-config ];
15 buildInputs = [ systemd ];
20 (if systemd != null then "--enable-journal" else "--disable-journal")
25 homepage = "http://www.liblogging.org/";
26 description = "Lightweight signal-safe logging library";
27 license = licenses.bsd2;
28 platforms = platforms.all;