From 975d33e6402700ee082064a1b3716eaa713a6d26 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Thu, 28 Jul 2016 06:52:22 +0200 Subject: [PATCH] mysql51: remove, not maintained anymore --- pkgs/servers/sql/mysql/5.1.x.nix | 42 -------------------------------- pkgs/top-level/all-packages.nix | 4 --- 2 files changed, 46 deletions(-) delete mode 100644 pkgs/servers/sql/mysql/5.1.x.nix diff --git a/pkgs/servers/sql/mysql/5.1.x.nix b/pkgs/servers/sql/mysql/5.1.x.nix deleted file mode 100644 index 017c99b01d02..000000000000 --- a/pkgs/servers/sql/mysql/5.1.x.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ stdenv, fetchurl, ps, ncurses, zlib, perl, openssl }: - -# Note: zlib is not required; MySQL can use an internal zlib. - -stdenv.mkDerivation rec { - name = "mysql-5.1.73"; - - src = fetchurl { - url = "mirror://mysql/MySQL-5.1/${name}.tar.gz"; - sha256 = "1dfwi4ck0vq6sdci6gz0031s7zz5lc3pddqlgm0292s00l9y5sq5"; - }; - - buildInputs = [ ncurses zlib perl openssl ] ++ stdenv.lib.optional stdenv.isLinux ps; - - configureFlags = [ - "--enable-thread-safe-client" - "--with-ssl=${openssl.dev}" - "--with-embedded-server" - "--with-plugins=max-no-ndb" - "--with-unix-socket-path=/run/mysqld/mysqld.sock" - ] ++ stdenv.lib.optional (stdenv.system == "x86_64-linux") " --with-lib-ccflags=-fPIC"; - - 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"; - - patches = [ ./abi_check.patch ]; - - postInstall = - '' - ln -s mysqld_safe $out/bin/mysqld - rm -rf $out/mysql-test $out/sql-bench $out/share/info - ''; - - passthru.mysqlVersion = "5.1"; - - meta = { - homepage = http://www.mysql.com/; - description = "The world's most popular open source database"; - platforms = stdenv.lib.platforms.all; - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6be961b1aefe..cd04a05372b4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10399,10 +10399,6 @@ in hyperdex = callPackage ../servers/nosql/hyperdex { }; - mysql51 = callPackage ../servers/sql/mysql/5.1.x.nix { - ps = procps; /* !!! Linux only */ - }; - mysql55 = callPackage ../servers/sql/mysql/5.5.x.nix { inherit (darwin) cctools; inherit (darwin.apple_sdk.frameworks) CoreServices;