1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00
nixpkgs/pkgs/tools/system/syslog-ng/default.nix

69 lines
1.5 KiB
Nix
Raw Normal View History

2017-02-15 00:49:51 +00:00
{ stdenv, fetchurl, openssl, libcap, curl, which
, eventlog, pkgconfig, glib, python, systemd, perl
2017-02-15 00:49:51 +00:00
, riemann_c_client, protobufc, pcre, libnet
2018-03-22 18:54:22 +00:00
, json_c, libuuid, libivykis, mongoc, rabbitmq-c
, libesmtp
}:
2017-02-15 00:49:51 +00:00
let
pname = "syslog-ng";
in
stdenv.mkDerivation rec {
2017-02-15 00:49:51 +00:00
name = "${pname}-${version}";
version = "3.20.1";
2017-02-15 00:49:51 +00:00
src = fetchurl {
url = "https://github.com/balabit/${pname}/releases/download/${name}/${name}.tar.gz";
sha256 = "185xixf48rp6isg2bs2y0hm6kf6a8ncncqgz4fd12jf6x6pmhn56";
};
2017-02-15 00:49:51 +00:00
nativeBuildInputs = [ pkgconfig which ];
buildInputs = [
2017-02-15 00:49:51 +00:00
libcap
curl
openssl
eventlog
glib
2017-02-15 00:49:51 +00:00
perl
python
systemd
riemann_c_client
protobufc
pcre
2017-02-15 00:49:51 +00:00
libnet
json_c
libuuid
libivykis
mongoc
rabbitmq-c
2018-03-22 18:54:22 +00:00
libesmtp
];
2014-06-24 22:52:54 +01:00
configureFlags = [
2017-02-15 00:49:51 +00:00
"--enable-manpages"
2014-06-24 22:52:54 +01:00
"--enable-dynamic-linking"
"--enable-systemd"
2018-03-22 18:54:22 +00:00
"--enable-smtp"
2017-02-15 00:49:51 +00:00
"--with-ivykis=system"
"--with-librabbitmq-client=system"
"--with-mongoc=system"
"--with-jsonc=system"
"--with-systemd-journal=system"
2014-06-24 22:52:54 +01:00
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
];
2017-02-15 00:49:51 +00:00
outputs = [ "out" "man" ];
2018-09-25 12:53:18 +01:00
enableParallelBuilding = true;
meta = with stdenv.lib; {
2018-07-06 02:35:28 +01:00
homepage = https://www.balabit.com/network-security/syslog-ng/;
description = "Next-generation syslogd with advanced networking and filtering capabilities";
license = licenses.gpl2;
2017-02-15 00:49:51 +00:00
maintainers = with maintainers; [ rickynils fpletz ];
platforms = platforms.linux;
};
}