mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
add db4 4.5.20. Not default for now, but tested to work on NixOS.
svn path=/nixpkgs/trunk/; revision=6631
This commit is contained in:
parent
0f68b0c9e1
commit
248b380a9b
14
pkgs/development/libraries/db4/db4-4.5.20.nix
Normal file
14
pkgs/development/libraries/db4/db4-4.5.20.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{stdenv, fetchurl, cxxSupport ? true, compat185 ? true}:
|
||||
|
||||
stdenv.mkDerivation ({
|
||||
name = "db4-4.5.20";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://download.oracle.com/berkeley-db/db-4.5.20.NC.tar.gz;
|
||||
md5 = "1bfa6256f8d546b97bef1f448ab09875";
|
||||
};
|
||||
configureFlags = [
|
||||
(if cxxSupport then "--enable-cxx" else "--disable-cxx")
|
||||
(if cxxSupport then "--enable-compat185" else "--disable-compat185")
|
||||
];
|
||||
} // (if stdenv.system == "i686-cygwin" then {patches = [./cygwin.patch];} else {}))
|
Loading…
Reference in New Issue
Block a user