2004-04-05 09:34:43 +00:00
|
|
|
{stdenv, fetchurl, cxxSupport ? true, compat185 ? true}:
|
|
|
|
|
2006-06-15 12:51:15 +00:00
|
|
|
stdenv.mkDerivation ({
|
2006-02-01 14:53:25 +00:00
|
|
|
name = "db4-4.4.20";
|
2003-11-05 12:17:48 +00:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2006-10-12 13:50:54 +00:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/db-4.4.20.NC.tar.gz;
|
2006-02-16 14:57:08 +00:00
|
|
|
md5 = "afd9243ea353bbaa04421488d3b37900";
|
2003-11-05 16:28:26 +00:00
|
|
|
};
|
2004-04-05 09:34:43 +00:00
|
|
|
configureFlags = [
|
|
|
|
(if cxxSupport then "--enable-cxx" else "--disable-cxx")
|
|
|
|
(if cxxSupport then "--enable-compat185" else "--disable-compat185")
|
|
|
|
];
|
2006-10-13 12:58:13 +00:00
|
|
|
} // (if stdenv.system == "i686-cygwin" then {patches = [./cygwin-4.4.patch];} else {}))
|