2014-01-31 20:05:37 +00:00
|
|
|
{stdenv, fetchurl, python, db}:
|
2007-05-02 11:49:18 +00:00
|
|
|
|
2013-12-16 13:29:42 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-11-17 18:07:17 +00:00
|
|
|
name = "bsddb3-6.1.0";
|
2007-05-02 11:49:18 +00:00
|
|
|
src = fetchurl {
|
2013-12-16 13:29:42 +00:00
|
|
|
url = "https://pypi.python.org/packages/source/b/bsddb3/${name}.tar.gz";
|
2014-11-17 18:07:17 +00:00
|
|
|
sha256 = "05gx3rfgq1qrgdmpd6hri6y5l97bh1wczvb6x853jchwi7in6cdi";
|
2007-05-02 11:49:18 +00: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 11:49:18 +00:00
|
|
|
}
|