mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 21:17:46 +00:00
3389f4bc36
svn path=/nixpkgs/trunk/; revision=4623
16 lines
489 B
Nix
16 lines
489 B
Nix
{stdenv, fetchurl, cxxSupport ? true, compat185 ? true}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "db4-4.4.16";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://nix.cs.uu.nl/dist/tarballs/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")
|
|
];
|
|
patches = [./register.patch]; # <- should be fixed in 4.4.17
|
|
}
|