2014-01-31 20:05:37 +00:00
|
|
|
{stdenv, fetchurl, python, db}:
|
2007-05-02 12:49:18 +01:00
|
|
|
|
2013-12-16 13:29:42 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "bsddb3-6.0.1";
|
2007-05-02 12:49:18 +01:00
|
|
|
src = fetchurl {
|
2013-12-16 13:29:42 +00:00
|
|
|
url = "https://pypi.python.org/packages/source/b/bsddb3/${name}.tar.gz";
|
|
|
|
md5 = "2b22ab1b4d896961c30e4106660e9139";
|
2007-05-02 12:49:18 +01:00
|
|
|
};
|
|
|
|
buildInputs = [python];
|
|
|
|
buildPhase = "true";
|
2014-01-31 20:05:37 +00:00
|
|
|
installPhase = "python ./setup.py install --prefix=$out --berkeley-db=${db}";
|
2007-05-02 12:49:18 +01:00
|
|
|
}
|