1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/pkgs/development/python-modules/bsddb3/default.nix
2014-02-15 12:03:02 +01:00

13 lines
362 B
Nix

{stdenv, fetchurl, python, db}:
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=${db}";
}