2011-03-27 08:44:34 +02:00
|
|
|
{stdenv, fetchurl, cxxSupport ? true, compat185 ? true}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "db4-4.8.26";
|
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2011-12-10 18:11:03 +01:00
|
|
|
url = http://download.oracle.com/berkeley-db/db-4.8.26.tar.gz;
|
2011-03-27 08:44:34 +02:00
|
|
|
sha256 = "0hcxh0kb6m0wk3apjhs57p7b171zzn63rg4l3nkcavygg5gx2mgp";
|
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
(if cxxSupport then "--enable-cxx" else "--disable-cxx")
|
|
|
|
(if compat185 then "--enable-compat185" else "--disable-compat185")
|
|
|
|
];
|
|
|
|
|
|
|
|
}
|