SpamAssassin: add version 3.3.2
This commit is contained in:
parent
90d6e6890a
commit
9c5f897465
37
pkgs/servers/mail/spamassassin/default.nix
Normal file
37
pkgs/servers/mail/spamassassin/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ stdenv, fetchurl, buildPerlPackage, perl, HTMLParser, NetDNS, NetAddrIP, DBFile
|
||||
, HTTPDate, MailDKIM
|
||||
}:
|
||||
|
||||
# TODO:
|
||||
#
|
||||
# - Mail::SPF
|
||||
# - IP::Country
|
||||
# - Razor2
|
||||
# - Net::Ident
|
||||
# - DBI
|
||||
# - LWP::UserAgent
|
||||
# - Encode::Detect
|
||||
|
||||
buildPerlPackage rec {
|
||||
name = "SpamAssassin-3.3.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://apache.imsam.info/spamassassin/source/Mail-${name}.tar.bz2";
|
||||
sha256 = "01d2jcpy423zfnhg123wlhzysih1hmb93nxfspiaajzh9r5rn8y7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ HTMLParser NetDNS NetAddrIP DBFile
|
||||
HTTPDate MailDKIM ];
|
||||
|
||||
makeFlags = "PERL_BIN=${perl}/bin/perl";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = "http://spamassassin.apache.org/";
|
||||
description = "Open-Source Spam Filter";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
}
|
@ -5280,6 +5280,11 @@ let
|
||||
|
||||
redstore = callPackage ../servers/http/redstore { };
|
||||
|
||||
spamassassin = callPackage ../servers/mail/spamassassin {
|
||||
inherit (perlPackages) HTMLParser NetDNS NetAddrIP DBFile
|
||||
HTTPDate MailDKIM;
|
||||
};
|
||||
|
||||
samba = callPackage ../servers/samba { };
|
||||
|
||||
# A lightweight Samba, useful for non-Linux-based OSes.
|
||||
|
Loading…
Reference in New Issue
Block a user