My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/tools/misc/bogofilter/default.nix

31 lines
938 B

{fetchurl, lib, stdenv, flex, db}:
stdenv.mkDerivation rec {
pname = "bogofilter";
version = "1.2.4";
src = fetchurl {
url = "mirror://sourceforge/bogofilter/bogofilter-${version}.tar.bz2";
sha256 = "1d56n2m9inm8gnzm88aa27xl2a7sp7aff3484vmflpqkinjqf0p1";
};
# FIXME: We would need `pax' as a "propagated build input" (for use
# by the `bf_tar' script) but we don't have it currently.
buildInputs = [ flex db ];
doCheck = false; # needs "y" tool
meta = {
homepage = "http://bogofilter.sourceforge.net/";
longDescription = ''
Bogofilter is a mail filter that classifies mail as spam or ham
(non-spam) by a statistical analysis of the message's header and
content (body). The program is able to learn from the user's
classifications and corrections. It is based on a Bayesian
filter.
'';
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
};
}