11 stdenv.mkDerivation rec {
16 url = "mirror://sourceforge/bogofilter/bogofilter-${version}.tar.xz";
17 hash = "sha256-MkihNzv/VSxQCDStvqS2yu4EIkUWrlgfslpMam3uieo=";
20 nativeBuildInputs = [ makeWrapper ];
27 doCheck = false; # needs "y" tool
30 wrapProgram "$out/bin/bf_tar" --prefix PATH : "${lib.makeBinPath [ pax ]}"
34 homepage = "http://bogofilter.sourceforge.net/";
36 Bogofilter is a mail filter that classifies mail as spam or ham
37 (non-spam) by a statistical analysis of the message's header and
38 content (body). The program is able to learn from the user's
39 classifications and corrections. It is based on a Bayesian
42 license = lib.licenses.gpl2Plus;
43 platforms = lib.platforms.linux;