2014-02-24 21:34:57 +01:00
|
|
|
{ stdenv, fetchurl, cmake, ncurses, openssl, bison, boost, libxml2, libaio, judy, libevent, groff }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-06-05 09:20:36 +02:00
|
|
|
name = "mariadb-${version}";
|
|
|
|
version = "10.0.11";
|
2014-02-24 21:34:57 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-06-05 09:20:36 +02:00
|
|
|
url = "https://fossies.org/linux/misc/${name}.tar.gz";
|
|
|
|
sha256 = "1p8h06kns30rlbnzw9ddmihs7r3jhp8xlrl4r6h5d107wkcw86v3";
|
2014-02-24 21:34:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake ncurses openssl bison boost libxml2 libaio judy libevent groff ];
|
|
|
|
|
2014-06-05 09:20:36 +02:00
|
|
|
cmakeFlags = [ "-DWITH_READLINE=yes" "-DWITH_EMBEDDED_SERVER=yes" "-DINSTALL_SCRIPTDIR=bin" ];
|
2014-02-24 21:34:57 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2014-02-26 13:54:04 +01:00
|
|
|
passthru.mysqlVersion = "5.5";
|
|
|
|
|
2014-02-24 21:34:57 +01:00
|
|
|
meta = {
|
|
|
|
description = "An enhanced, drop-in replacement for MySQL";
|
|
|
|
homepage = https://mariadb.org/;
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2014-06-05 09:20:36 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ shlevy thoughtpolice ];
|
2014-02-24 21:34:57 +01:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|