3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/sql/mariadb/default.nix

28 lines
928 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 {
name = "mariadb-${version}";
version = "10.0.13";
2014-02-24 20:34:57 +00:00
src = fetchurl {
url = "https://downloads.mariadb.org/interstitial/mariadb-${version}/source/mariadb-${version}.tar.gz";
sha256 = "039wz89vs03a27anpshj5xaqknm7cqi7mrypvwingqkq26ns0mhs";
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" "-DINSTALL_SCRIPTDIR=bin" ];
2014-02-24 20:34:57 +00:00
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 = with stdenv.lib.maintainers; [ shlevy thoughtpolice ];
2014-02-24 20:34:57 +00:00
platforms = stdenv.lib.platforms.all;
};
}