blob: 574796e2c68199a590f85b716cea740283e85f85 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
{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}";
}
|