nixpkgs/pkgs/development/libraries/db4/default.nix
Eelco Dolstra c845640a64 * Berkeley DB updated to 4.3.28.
svn path=/nixpkgs/trunk/; revision=3015
2005-05-09 15:39:01 +00:00

15 lines
423 B
Nix

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