463ed1bb64
Also, enable the TokuDB plugin, as it now builds (there were some bugs in the non-GA release that prevented that). Signed-off-by: Austin Seipp <aseipp@pobox.com>
28 lines
879 B
Nix
28 lines
879 B
Nix
{ stdenv, fetchurl, cmake, ncurses, openssl, bison, boost, libxml2, libaio, judy, libevent, groff }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mariadb-${version}";
|
|
version = "10.0.11";
|
|
|
|
src = fetchurl {
|
|
url = "https://fossies.org/linux/misc/${name}.tar.gz";
|
|
sha256 = "1p8h06kns30rlbnzw9ddmihs7r3jhp8xlrl4r6h5d107wkcw86v3";
|
|
};
|
|
|
|
buildInputs = [ cmake ncurses openssl bison boost libxml2 libaio judy libevent groff ];
|
|
|
|
cmakeFlags = [ "-DWITH_READLINE=yes" "-DWITH_EMBEDDED_SERVER=yes" "-DINSTALL_SCRIPTDIR=bin" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
passthru.mysqlVersion = "5.5";
|
|
|
|
meta = {
|
|
description = "An enhanced, drop-in replacement for MySQL";
|
|
homepage = https://mariadb.org/;
|
|
license = stdenv.lib.licenses.gpl2;
|
|
maintainers = with stdenv.lib.maintainers; [ shlevy thoughtpolice ];
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|