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