summary refs log blame commit diff
path: root/pkgs/development/libraries/db4/db4-4.5.nix
blob: 9134c7f483b45178fe6bec68fa1a4f3352cdfc95 (plain) (tree)
1
2
3
4
5
6
7

                                                        
                     


                         
                                                                





                                                                        

                                 
{stdenv, fetchurl, cxxSupport ? true, compat185 ? true}:

stdenv.mkDerivation {
  name = "db4-4.5.20";
  builder = ./builder.sh;
  src = fetchurl {
    url = http://nix.cs.uu.nl/dist/tarballs/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")
  ];
  patches = [./cygwin-4.5.patch];
}