spambayes: Add bsddb build input

To reproduce the issue:
```
nix-build -E 'import <nixpkgs> {}' -A python27Packages.spambayes
result/bin/sb_filter.py </dev/null
```
Before this commit, this fails with
```
[...]
  File "/nix/store/vlgr1wrxd2wiw5ay5ch54365dzqvcwgq-python2.7-spambayes-1.1b1/lib/python2.7/site-packages/spambayes/dbmstorage.py", line 20, in open_dbhash
    return bsddb.hashopen(*args)
AttributeError: 'NoneType' object has no attribute 'hashopen'
```
After this commit, it doesn't.
This commit is contained in:
Steven Taschuk 2017-03-18 08:34:28 -04:00
parent 4e2f802ce8
commit 3edf455269

View File

@ -23922,7 +23922,7 @@ in {
sha256 = "0kqvjb89b02wp41p650ydfspi1s8d7akx1igcrw62diidqbxp04n";
};
propagatedBuildInputs = with self; [ pydns lockfile ];
propagatedBuildInputs = with self; [ bsddb3 pydns lockfile ];
meta = {
description = "Statistical anti-spam filter, initially based on the work of Paul Graham";