about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/spambayes/default.nix
blob: f33748379d1ed45b40488a7bc722a83d7fc7b410 (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.1b3";

  disabled = isPy3k;

  src = fetchPypi {
    inherit pname version;
    sha256 = "016r3g43ja73rls1nh1dl82d75lgsjdl4cv2r5s7zcihm47nb38q";
  };

  propagatedBuildInputs = [ bsddb3 pydns lockfile ];

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