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