2014-02-24 20:34:57 +00:00
|
|
|
{ stdenv, fetchurl, cmake, ncurses, openssl, bison, boost, libxml2, libaio, judy, libevent, groff }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-06-05 08:20:36 +01:00
|
|
|
name = "mariadb-${version}";
|
2014-08-20 07:48:42 +01:00
|
|
|
version = "10.0.13";
|
2014-02-24 20:34:57 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-06-22 14:28:44 +01:00
|
|
|
url = "https://downloads.mariadb.org/interstitial/mariadb-${version}/source/mariadb-${version}.tar.gz";
|
2014-08-20 07:48:42 +01:00
|
|
|
sha256 = "039wz89vs03a27anpshj5xaqknm7cqi7mrypvwingqkq26ns0mhs";
|
2014-02-24 20:34:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake ncurses openssl bison boost libxml2 libaio judy libevent groff ];
|
|
|
|
|
2014-06-05 08:20:36 +01:00
|
|
|
cmakeFlags = [ "-DWITH_READLINE=yes" "-DWITH_EMBEDDED_SERVER=yes" "-DINSTALL_SCRIPTDIR=bin" ];
|
2014-02-24 20:34:57 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2014-02-26 12:54:04 +00:00
|
|
|
passthru.mysqlVersion = "5.5";
|
|
|
|
|
2014-02-24 20:34:57 +00:00
|
|
|
meta = {
|
|
|
|
description = "An enhanced, drop-in replacement for MySQL";
|
|
|
|
homepage = https://mariadb.org/;
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2014-06-05 08:20:36 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ shlevy thoughtpolice ];
|
2014-02-24 20:34:57 +00:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|