From 46196750114d85bcd28ff3a91b559b58767c6a53 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Thu, 14 Mar 2013 14:07:56 +0100 Subject: [PATCH] Add rsyslog 7.2.6 and its dependencies --- pkgs/development/libraries/libee/default.nix | 16 +++++++++++++++ .../development/libraries/libestr/default.nix | 8 ++++++++ pkgs/tools/system/rsyslog/default.nix | 20 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 5 +++++ 4 files changed, 49 insertions(+) create mode 100644 pkgs/development/libraries/libee/default.nix create mode 100644 pkgs/development/libraries/libestr/default.nix create mode 100644 pkgs/tools/system/rsyslog/default.nix diff --git a/pkgs/development/libraries/libee/default.nix b/pkgs/development/libraries/libee/default.nix new file mode 100644 index 000000000000..c3c73381acd1 --- /dev/null +++ b/pkgs/development/libraries/libee/default.nix @@ -0,0 +1,16 @@ +{ stdenv, fetchurl, pkgconfig, libestr }: +stdenv.mkDerivation { + name = "libee-0.4.1"; + + src = fetchurl { + url = http://www.libee.org/download/files/download/libee-0.4.1.tar.gz; + md5 = "7bbf4160876c12db6193c06e2badedb2"; + }; + + buildInputs = [pkgconfig libestr]; + + meta = { + homepage = "http://www.libee.org/"; + description = "An Event Expression Library inspired by CEE"; + }; +} diff --git a/pkgs/development/libraries/libestr/default.nix b/pkgs/development/libraries/libestr/default.nix new file mode 100644 index 000000000000..74d86667b5b5 --- /dev/null +++ b/pkgs/development/libraries/libestr/default.nix @@ -0,0 +1,8 @@ +{ stdenv, fetchurl }: +stdenv.mkDerivation { + name = "libestr-0.1.4"; + src = fetchurl { + url = http://libestr.adiscon.com/files/download/libestr-0.1.4.tar.gz; + sha256 = "1qw5vqryawdm434l9ql3r160ap2f5mmp7b6pciac7qli62y0a2z3"; + }; +} diff --git a/pkgs/tools/system/rsyslog/default.nix b/pkgs/tools/system/rsyslog/default.nix new file mode 100644 index 000000000000..fbe3f97dd8a3 --- /dev/null +++ b/pkgs/tools/system/rsyslog/default.nix @@ -0,0 +1,20 @@ +{stdenv, fetchurl, eventlog, pkgconfig, libestr, libee, json_c, libuuid, zlib}: + +stdenv.mkDerivation { + name = "rsyslog-7.2.6"; + + src = fetchurl { + url = http://www.rsyslog.com/files/download/rsyslog/rsyslog-7.2.6.tar.gz; + sha256 = "19a5c60816ebce6c86468eb8c5fe1c4cc1febf23c9167ce59d2327fe5e047ed9"; + }; + + buildInputs = [pkgconfig libestr libee json_c libuuid zlib]; + + meta = { + homepage = "http://www.rsyslog.com/"; + description = "Rsyslog is an enhanced syslogd. It can be used as a drop-in replacement for stock sysklogd."; + license = "GPLv3"; + + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9ec3a5cc60fe..941ba2a2bad2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -496,6 +496,7 @@ let mcrl2 = callPackage ../tools/misc/mcrl2 { }; syslogng = callPackage ../tools/system/syslog-ng { }; + rsyslog = callPackage ../tools/system/rsyslog { }; mcelog = callPackage ../os-specific/linux/mcelog { }; @@ -1060,6 +1061,10 @@ let libconfig = callPackage ../development/libraries/libconfig { }; + libee = callPackage ../development/libraries/libee { }; + + libestr = callPackage ../development/libraries/libestr { }; + libtirpc = callPackage ../development/libraries/ti-rpc { }; libshout = callPackage ../development/libraries/libshout { };