diff --git a/pkgs/servers/sql/mysql/default.nix b/pkgs/servers/sql/mysql/default.nix deleted file mode 100644 index 3a13aa323a19..000000000000 --- a/pkgs/servers/sql/mysql/default.nix +++ /dev/null @@ -1,16 +0,0 @@ -{stdenv, fetchurl, ps, ncurses, zlib ? null, perl}: - -# Note: zlib is not required; MySQL can use an internal zlib. - -stdenv.mkDerivation { - name = "mysql-4.1.18"; - - src = fetchurl { - url = http://downloads.mysql.com/archives/mysql-4.1/mysql-4.1.18.tar.gz; - md5 = "a2db4edb3e1e3b8e0f8c2242225ea513"; - }; - - buildInputs = [ps ncurses zlib perl]; - - configureFlags = "--enable-thread-safe-client"; -} diff --git a/pkgs/servers/sql/mysql5/default.nix b/pkgs/servers/sql/mysql5/default.nix deleted file mode 100644 index 908ae3fc70c6..000000000000 --- a/pkgs/servers/sql/mysql5/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{stdenv, fetchurl, ps, ncurses, zlib, perl, openssl}: - -# Note: zlib is not required; MySQL can use an internal zlib. - -stdenv.mkDerivation { - name = "mysql-5.0.77"; - - src = fetchurl { - url = http://downloads.mysql.com/archives/mysql-5.0/mysql-5.0.77.tar.gz; - sha256 = "1s0m991aynim8ny28cfwhjw0ly8j5d72xi00461w6yc2hlaijcd9"; - }; - - buildInputs = [ps ncurses zlib perl openssl]; - - configureFlags = "--enable-thread-safe-client --with-openssl=${openssl} --with-berkeley-db --with-embedded-server" + - (if stdenv.system == "x86_64-linux" then " --with-lib-ccflags=-fPIC" else ""); - - NIX_CFLAGS_COMPILE = if stdenv.system == "x86_64-linux" then "-fPIC" else ""; - - NIX_CFLAGS_CXXFLAGS = if stdenv.system == "x86_64-linux" then "-fPIC" else ""; - - NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s"; - - postInstall = - '' - ln -s mysqld_safe $out/bin/mysqld - rm -rf $out/mysql-test $out/sql-bench $out/share/info - ''; - - meta = { - homepage = http://www.mysql.com/; - description = "The world's most popular open source database"; - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c6ce6f7efe67..8b4257837598 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6202,16 +6202,6 @@ let riak = callPackage ../servers/nosql/riak/1.3.1.nix { }; - mysql4 = import ../servers/sql/mysql { - inherit fetchurl stdenv ncurses zlib perl; - ps = procps; /* !!! Linux only */ - }; - - mysql5 = import ../servers/sql/mysql5 { - inherit fetchurl stdenv ncurses zlib perl openssl; - ps = procps; /* !!! Linux only */ - }; - mysql51 = import ../servers/sql/mysql51 { inherit fetchurl ncurses zlib perl openssl stdenv; ps = procps; /* !!! Linux only */