nixpkgs/pkgs/servers/sql/mariadb/default.nix

27 lines
828 B
Nix
Raw Normal View History

2014-02-24 20:34:57 +00:00
{ stdenv, fetchurl, cmake, ncurses, openssl, bison, boost, libxml2, libaio, judy, libevent, groff }:
stdenv.mkDerivation rec {
2014-04-02 14:05:01 +01:00
name = "mariadb-10.0.10";
2014-02-24 20:34:57 +00:00
src = fetchurl {
2014-04-02 14:05:01 +01:00
url = "https://fossies.org/linux/misc/${name}.tar.gz";
md5 = "14ce22b8197d4eae88d237776d47220f";
2014-02-24 20:34:57 +00:00
};
buildInputs = [ cmake ncurses openssl bison boost libxml2 libaio judy libevent groff ];
cmakeFlags = [ "-DWITH_READLINE=yes" "-DWITH_EMBEDDED_SERVER=yes" "-DWITHOUT_TOKUDB=1" "-DINSTALL_SCRIPTDIR=bin" ];
enableParallelBuilding = true;
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;
maintainers = [ stdenv.lib.maintainers.shlevy ];
platforms = stdenv.lib.platforms.all;
};
}