mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
syslog-ng: enable SMTP destination
This commit is contained in:
parent
c90c6bb2de
commit
998a19e854
12
pkgs/development/libraries/libesmtp/default.nix
Normal file
12
pkgs/development/libraries/libesmtp/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libESMTP-${version}";
|
||||
version = "1.0.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://brianstafford.info/libesmtp/libesmtp-1.0.6.tar.bz2";
|
||||
sha256 = "02zbniyz7qys1jmx3ghx21kxmns1wc3hmv80gp7ag7yra9f1m9nh";
|
||||
};
|
||||
}
|
||||
|
|
@ -1,7 +1,9 @@
|
|||
{ stdenv, fetchurl, openssl, libcap, curl, which
|
||||
, eventlog, pkgconfig, glib, python, systemd, perl
|
||||
, riemann_c_client, protobufc, pcre, libnet
|
||||
, json_c, libuuid, libivykis, mongoc, rabbitmq-c }:
|
||||
, json_c, libuuid, libivykis, mongoc, rabbitmq-c
|
||||
, libesmtp
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "syslog-ng";
|
||||
|
@ -36,12 +38,14 @@ stdenv.mkDerivation rec {
|
|||
libivykis
|
||||
mongoc
|
||||
rabbitmq-c
|
||||
libesmtp
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--enable-manpages"
|
||||
"--enable-dynamic-linking"
|
||||
"--enable-systemd"
|
||||
"--enable-smtp"
|
||||
"--with-ivykis=system"
|
||||
"--with-librabbitmq-client=system"
|
||||
"--with-mongoc=system"
|
||||
|
|
|
@ -8683,6 +8683,8 @@ with pkgs;
|
|||
|
||||
esdl = callPackage ../development/libraries/esdl { };
|
||||
|
||||
libesmtp = callPackage ../development/libraries/libesmtp { };
|
||||
|
||||
exiv2 = callPackage ../development/libraries/exiv2 { };
|
||||
|
||||
expat = callPackage ../development/libraries/expat { };
|
||||
|
|
Loading…
Reference in a new issue