mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #198998 from LeSuisse/percona-server56-drop
percona-server56: drop
This commit is contained in:
commit
2dd8b1bebf
@ -857,6 +857,13 @@
|
||||
option, and it is enabled by default, for servers.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<literal>percona-server56</literal> has been removed. Please
|
||||
migrate to <literal>mysql</literal> or
|
||||
<literal>mariadb</literal> if possible.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<literal>stylua</literal> no longer accepts
|
||||
|
@ -266,6 +266,8 @@ Available as [services.patroni](options.html#opt-services.patroni.enable).
|
||||
- Consequently, `cqrlog` and `amorok` now use `mariadb` instead of `mysql57` for their embedded databases. Running `mysql_upgrade` may be neccesary.
|
||||
- `k3s` supports `clusterInit` option, and it is enabled by default, for servers.
|
||||
|
||||
- `percona-server56` has been removed. Please migrate to `mysql` or `mariadb` if possible.
|
||||
|
||||
- `stylua` no longer accepts `lua52Support` and `luauSupport` overrides, use `features` instead, which defaults to `[ "lua54" "luau" ]`.
|
||||
|
||||
- `pkgs.fetchNextcloudApp` has been rewritten to circumvent impurities in e.g. tarballs from GitHub and to make it easier to
|
||||
|
@ -1,60 +0,0 @@
|
||||
{ lib, stdenv, fetchurl, cmake, bison, ncurses, openssl, zlib, libaio, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "percona-server";
|
||||
version = "5.6.49-89.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.percona.com/downloads/Percona-Server-5.6/Percona-Server-${version}/source/tarball/percona-server-${version}.tar.gz";
|
||||
sha256 = "09qqk02iny7jvngyk6k2j0kk2sspc6gw8sm3i6nn97njbkihi697";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake bison perl ];
|
||||
buildInputs = [ ncurses openssl zlib libaio ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DFEATURE_SET=community"
|
||||
"-DBUILD_CONFIG=mysql_release"
|
||||
"-DCMAKE_BUILD_TYPE=RelWithDebInfo"
|
||||
"-DWITH_SSL=yes"
|
||||
"-DWITH_READLINE=no"
|
||||
"-DWITH_EMBEDDED_SERVER=no"
|
||||
"-DWITH_EDITLINE=bundled"
|
||||
"-DWITH_ZLIB=yes"
|
||||
"-DHAVE_IPV6=no"
|
||||
"-DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock"
|
||||
"-DMYSQL_DATADIR=/var/lib/mysql"
|
||||
"-DINSTALL_SYSCONFDIR=etc/mysql"
|
||||
"-DINSTALL_INFODIR=share/mysql/docs"
|
||||
"-DINSTALL_MANDIR=share/man"
|
||||
"-DINSTALL_PLUGINDIR=lib/mysql/plugin"
|
||||
"-DINSTALL_SCRIPTDIR=bin"
|
||||
"-DINSTALL_INCLUDEDIR=include/mysql"
|
||||
"-DINSTALL_DOCREADMEDIR=share/mysql"
|
||||
"-DINSTALL_SUPPORTFILESDIR=share/mysql"
|
||||
"-DINSTALL_MYSQLSHAREDIR=share/mysql"
|
||||
"-DINSTALL_DOCDIR=share/mysql/docs"
|
||||
"-DINSTALL_SHAREDIR=share/mysql"
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-Wno-error=address-of-packed-member" ];
|
||||
NIX_LDFLAGS = "-lgcc_s";
|
||||
|
||||
prePatch = ''
|
||||
sed -i -e "s|/usr/bin/libtool|libtool|" cmake/libutils.cmake
|
||||
'';
|
||||
postInstall = ''
|
||||
sed -i -e "s|basedir=\"\"|basedir=\"$out\"|" $out/bin/mysql_install_db
|
||||
rm -r $out/mysql-test $out/sql-bench $out/data "$out"/lib/*.a
|
||||
'';
|
||||
|
||||
passthru.mysqlVersion = "5.6";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.percona.com";
|
||||
description = "a free, fully compatible, enhanced, open source drop-in replacement for MySQL that provides superior performance, scalability and instrumentation";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ grahamc ];
|
||||
};
|
||||
}
|
@ -1067,6 +1067,8 @@ mapAliases ({
|
||||
pdfstudio = throw "'pdfstudio' has been replaced with 'pdfstudio<year>', where '<year>' is the year from the PDF Studio version number, because each license is specific to a given year"; # Added 2022-09-04
|
||||
peach = asouldocs; # Added 2022-08-28
|
||||
pentablet-driver = xp-pen-g430-driver; # Added 2022-06-23
|
||||
percona-server = percona-server56; # Added 2022-11-01
|
||||
percona-server56 = throw "'percona-server56' has been dropped due to lack of maintenance, no upstream support and security issues"; # Added 2022-11-01
|
||||
perlXMLParser = throw "'perlXMLParser' has been renamed to/replaced by 'perlPackages.XMLParser'"; # Converted to throw 2022-02-22
|
||||
perlArchiveCpio = throw "'perlArchiveCpio' has been renamed to/replaced by 'perlPackages.ArchiveCpio'"; # Converted to throw 2022-02-22
|
||||
pgadmin = pgadmin4;
|
||||
|
@ -24056,12 +24056,6 @@ with pkgs;
|
||||
|
||||
nginx-sso = callPackage ../servers/nginx-sso { };
|
||||
|
||||
percona-server56 = callPackage ../servers/sql/percona/5.6.x.nix {
|
||||
stdenv = gcc10StdenvCompat;
|
||||
openssl = openssl_1_1;
|
||||
};
|
||||
percona-server = percona-server56;
|
||||
|
||||
immudb = callPackage ../servers/nosql/immudb { };
|
||||
|
||||
influxdb = callPackage ../servers/nosql/influxdb { };
|
||||
|
Loading…
Reference in New Issue
Block a user