mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 08:31:59 +00:00
7689a348c4
builders. These are redundant now. * Inlined some trivial builders. * Removed a few explicit setup-hook creations. This is done automatically now if setupHook is set. * Deleted the initscripts package. NixOS doesn't use it anymore. svn path=/nixpkgs/branches/stdenv-updates/; revision=15276
23 lines
543 B
Nix
23 lines
543 B
Nix
{stdenv, fetchurl, cxxSupport ? true, compat185 ? true}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "db4-4.4.20";
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
|
urls = [
|
|
http://download.oracle.com/berkeley-db/db-4.4.20.NC.tar.gz
|
|
http://nixos.org/tarballs/db-4.4.20.NC.tar.gz
|
|
];
|
|
md5 = "afd9243ea353bbaa04421488d3b37900";
|
|
};
|
|
|
|
configureFlags = [
|
|
(if cxxSupport then "--enable-cxx" else "--disable-cxx")
|
|
(if compat185 then "--enable-compat185" else "--disable-compat185")
|
|
];
|
|
|
|
patches = [ ./cygwin-4.4.patch ];
|
|
}
|