2008-02-21 00:02:41 +01:00
|
|
|
args: with args;
|
2007-10-30 17:03:29 +01:00
|
|
|
|
|
|
|
# Note: zlib is not required; MySQL can use an internal zlib.
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "mysql-5.0.45";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://downloads.mysql.com/archives/mysql-5.0/mysql-5.0.45.tar.gz;
|
|
|
|
sha256 = "e4443d8dc859ed53bd9f3bef143ce30c7f5dee66a02748e9a003136be25e0060";
|
|
|
|
};
|
|
|
|
|
2008-02-21 00:02:41 +01:00
|
|
|
buildInputs = [ps ncurses zlib perl openssl];
|
|
|
|
postInstall = "ln -s mysqld_safe $out/bin/mysqld";
|
2007-10-30 17:03:29 +01:00
|
|
|
|
2008-02-21 00:02:41 +01:00
|
|
|
configureFlags = "--enable-thread-safe-client --with-embedded-server --disable-static --with-openssl=${openssl} --with-berkeley-db";
|
2007-10-30 17:03:29 +01:00
|
|
|
}
|