Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 20 lines 499 B view raw
1{ buildPythonPackage, isPy3k, fetchPypi, bsddb3, pydns, lockfile }: 2 3buildPythonPackage rec { 4 pname = "spambayes"; 5 version = "1.1b3"; 6 7 disabled = isPy3k; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "016r3g43ja73rls1nh1dl82d75lgsjdl4cv2r5s7zcihm47nb38q"; 12 }; 13 14 propagatedBuildInputs = [ bsddb3 pydns lockfile ]; 15 16 meta = { 17 description = "Statistical anti-spam filter, initially based on the work of Paul Graham"; 18 homepage = http://spambayes.sourceforge.net/; 19 }; 20}