2012-07-23 15:21:25 +01:00
|
|
|
{ stdenv, fetchurl, zlib, bzip2, libiconv }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "clamav-${version}";
|
2013-12-03 07:43:29 +00:00
|
|
|
version = "0.97.8";
|
2012-07-23 15:21:25 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-14 00:48:32 +01:00
|
|
|
url = "mirror://sourceforge/clamav/clamav-${version}.tar.gz";
|
2013-12-03 07:43:29 +00:00
|
|
|
sha256 = "04pwm8a84silnvgimn2wi2wgwdzwpskybx72mp10ni1dd7yvswnq";
|
2012-07-23 15:21:25 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ zlib bzip2 libiconv ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-zlib=${zlib}"
|
|
|
|
"--with-libbz2-prefix=${bzip2}"
|
|
|
|
"--with-iconv-dir=${libiconv}"
|
|
|
|
"--disable-clamav" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.clamav.net;
|
2013-10-05 15:22:46 +01:00
|
|
|
description = "Antivirus engine designed for detecting Trojans, viruses, malware and other malicious threats";
|
2012-07-23 15:21:25 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.phreedom ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|