3
0
Fork 0
forked from mirrors/nixpkgs

clamav: build mail filter

Provides clamav-milter, a mail filter for sendmail compatible
MTAs.
This commit is contained in:
Joachim Fasting 2015-06-07 14:34:43 +02:00
parent f93a8ee110
commit 261dfad8a7

View file

@ -1,4 +1,5 @@
{ stdenv, fetchurl, zlib, bzip2, libiconv, libxml2, openssl, ncurses, curl }: { stdenv, fetchurl, zlib, bzip2, libiconv, libxml2, openssl, ncurses, curl
, libmilter }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "clamav-${version}"; name = "clamav-${version}";
version = "0.98.6"; version = "0.98.6";
@ -8,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "0l99a0shgzpl8rvrrgbm1ki2zxlb7g1n82bhq7f2snj4amfj94b5"; sha256 = "0l99a0shgzpl8rvrrgbm1ki2zxlb7g1n82bhq7f2snj4amfj94b5";
}; };
buildInputs = [ zlib bzip2 libxml2 openssl ncurses curl libiconv ]; buildInputs = [ zlib bzip2 libxml2 openssl ncurses curl libiconv libmilter ];
configureFlags = [ configureFlags = [
"--with-zlib=${zlib}" "--with-zlib=${zlib}"
@ -18,6 +19,7 @@ stdenv.mkDerivation rec {
"--with-openssl=${openssl}" "--with-openssl=${openssl}"
"--with-libncurses-prefix=${ncurses}" "--with-libncurses-prefix=${ncurses}"
"--with-libcurl=${curl}" "--with-libcurl=${curl}"
"--enable-milter"
"--disable-clamav" "--disable-clamav"
]; ];