about summary refs log tree commit diff
path: root/pkgs/development/python-modules/spambayes/default.nix
blob: 19d5cb1549315967161cd20ed97f5ffd6132b619 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ buildPythonPackage, isPy3k, fetchPypi, bsddb3, pydns, lockfile }:

buildPythonPackage rec {
  pname = "spambayes";
  version = "1.1b2";

  disabled = isPy3k;

  src = fetchPypi {
    inherit pname version;
    sha256 = "1542dwdsmkav38cfjlbgf3bzz3z8nk7wzq173ya8ipk7g8g6s64d";
  };

  propagatedBuildInputs = [ bsddb3 pydns lockfile ];

  meta = {
    description = "Statistical anti-spam filter, initially based on the work of Paul Graham";
    homepage = http://spambayes.sourceforge.net/;
  };
}