nixpkgs/pkgs/development/python-modules/bsddb3/default.nix
Mathijs Kwik 5e2921df64 bsddb3: upgrade to 6.0.1
should be backward compatible with all bdb 3 and 4 versions
2013-12-23 10:25:16 +01:00

12 lines
364 B
Nix

{stdenv, fetchurl, python, db4}:
stdenv.mkDerivation rec {
name = "bsddb3-6.0.1";
src = fetchurl {
url = "https://pypi.python.org/packages/source/b/bsddb3/${name}.tar.gz";
md5 = "2b22ab1b4d896961c30e4106660e9139";
};
buildInputs = [python];
buildPhase = "true";
installPhase = "python ./setup.py install --prefix=$out --berkeley-db=${db4}";
}