nixpkgs/pkgs/development/libraries/db4/default.nix
Eelco Dolstra 47dcd9819f * Updated Berkeley DB to 4.4.16.
svn path=/nixpkgs/trunk/; revision=4354
2005-12-12 16:20:49 +00:00

15 lines
423 B
Nix

{stdenv, fetchurl, cxxSupport ? true, compat185 ? true}:
stdenv.mkDerivation {
name = "db4-4.4.16";
builder = ./builder.sh;
src = fetchurl {
url = http://downloads.sleepycat.com/db-4.4.16.NC.tar.gz;
md5 = "1466026e67b5c3eb60c8c16b7f472c17";
};
configureFlags = [
(if cxxSupport then "--enable-cxx" else "--disable-cxx")
(if cxxSupport then "--enable-compat185" else "--disable-compat185")
];
}