2004-04-05 10:34:43 +01:00
|
|
|
{stdenv, fetchurl, cxxSupport ? true, compat185 ? true}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2005-12-12 16:20:49 +00:00
|
|
|
name = "db4-4.4.16";
|
2003-11-05 12:17:48 +00:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2006-01-30 16:04:03 +00:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/db-4.4.16.NC.tar.gz;
|
2005-12-12 16:20:49 +00:00
|
|
|
md5 = "1466026e67b5c3eb60c8c16b7f472c17";
|
2003-11-05 16:28:26 +00:00
|
|
|
};
|
2004-04-05 10:34:43 +01:00
|
|
|
configureFlags = [
|
|
|
|
(if cxxSupport then "--enable-cxx" else "--disable-cxx")
|
|
|
|
(if cxxSupport then "--enable-compat185" else "--disable-compat185")
|
|
|
|
];
|
2005-12-15 17:03:47 +00:00
|
|
|
patches = [./register.patch]; # <- should be fixed in 4.4.17
|
2003-11-05 12:17:48 +00:00
|
|
|
}
|