8 buildPythonPackage rec {
11 format = "setuptools";
14 inherit pname version;
15 sha256 = "70d05ec8dc568f42e70fc919a442e0daadc2a905a1cfb7ca77f549d49d6e7801";
18 buildInputs = [ pkgs.db ];
21 ${python.interpreter} test.py
24 # Path to database need to be set.
25 # Somehow the setup.py flag is not propagated.
26 #setupPyBuildFlags = [ "--berkeley-db=${pkgs.db}" ];
27 # We can also use a variable
29 export BERKELEYDB_DIR=${pkgs.db.dev};
33 description = "Python bindings for Oracle Berkeley DB";
34 homepage = "https://www.jcea.es/programacion/pybsddb.htm";
35 license = with licenses; [ agpl3Only ]; # License changed from bsd3 to agpl3 since 6.x