nixpkgs/pkgs/servers/sql/mysql5/default.nix
Eelco Dolstra e12b421add * Merged most of the stdenv-updates branch. Some stuff didn't
merge cleanly right away (kde-4, kernel stuff) so it should be
  merged later.  But the stdenv stuff is all there.

svn path=/nixpkgs/branches/stdenv-updates-merge/; revision=10793
2008-02-20 23:02:41 +00:00

18 lines
551 B
Nix

args: with args;
# 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";
};
buildInputs = [ps ncurses zlib perl openssl];
postInstall = "ln -s mysqld_safe $out/bin/mysqld";
configureFlags = "--enable-thread-safe-client --with-embedded-server --disable-static --with-openssl=${openssl} --with-berkeley-db";
}