2017-10-07 22:25:21 +01:00
|
|
|
{ buildPythonPackage, isPy3k, fetchPypi, bsddb3, pydns, lockfile }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "spambayes";
|
2018-12-14 18:21:30 +00:00
|
|
|
version = "1.1b3";
|
2017-10-07 22:25:21 +01:00
|
|
|
|
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-12-14 18:21:30 +00:00
|
|
|
sha256 = "016r3g43ja73rls1nh1dl82d75lgsjdl4cv2r5s7zcihm47nb38q";
|
2017-10-07 22:25:21 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ bsddb3 pydns lockfile ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Statistical anti-spam filter, initially based on the work of Paul Graham";
|
|
|
|
homepage = http://spambayes.sourceforge.net/;
|
|
|
|
};
|
|
|
|
}
|