Merge pull request #109006 from totten/master-mysql-8022

mysql80: 8.0.17 -> 8.0.22

authored by Benjamin Hipple and committed by GitHub 1e678a98 ca345350

+11 -10
+10 -4
pkgs/servers/sql/mysql/8.0.x.nix
··· 1 1 { lib, stdenv, fetchurl, bison, cmake, pkgconfig 2 - , boost, icu, libedit, libevent, lz4, ncurses, openssl, protobuf, re2, readline, zlib 2 + , boost, icu, libedit, libevent, lz4, ncurses, openssl, protobuf, re2, readline, zlib, zstd 3 3 , numactl, perl, cctools, CoreServices, developer_cmds, libtirpc, rpcsvc-proto 4 4 }: 5 5 6 6 let 7 7 self = stdenv.mkDerivation rec { 8 8 pname = "mysql"; 9 - version = "8.0.17"; 9 + version = "8.0.22"; 10 10 11 11 src = fetchurl { 12 12 url = "https://dev.mysql.com/get/Downloads/MySQL-${self.mysqlVersion}/${pname}-${version}.tar.gz"; 13 - sha256 = "1mjrlxn8vigi69r0r674j2dibdnkaar01ji5965gsyx7k60z7qy6"; 13 + sha256 = "9fd85bb243940ef8234d21384ef421a0962fd4d13406fc1420efa902115ce17a"; 14 14 }; 15 15 16 16 patches = [ 17 17 ./abi-check.patch 18 - ./libutils.patch 19 18 ]; 20 19 21 20 nativeBuildInputs = [ bison cmake pkgconfig rpcsvc-proto ]; 22 21 22 + ## NOTE: MySQL upstream frequently twiddles the invocations of libtool. When updating, you might proactively grep for libtool references. 23 + postPatch = '' 24 + substituteInPlace cmake/libutils.cmake --replace /usr/bin/libtool libtool 25 + substituteInPlace cmake/os/Darwin.cmake --replace /usr/bin/libtool libtool 26 + ''; 27 + 23 28 buildInputs = [ 24 29 boost icu libedit libevent lz4 ncurses openssl protobuf re2 readline zlib 30 + zstd 25 31 ] ++ lib.optionals stdenv.isLinux [ 26 32 numactl libtirpc 27 33 ] ++ lib.optionals stdenv.isDarwin [
-5
pkgs/servers/sql/mysql/libutils.patch
··· 1 - --- a/cmake/libutils.cmake 2 - +++ b/cmake/libutils.cmake 3 - @@ -345 +345 @@ MACRO(MERGE_CONVENIENCE_LIBRARIES) 4 - - COMMAND /usr/bin/libtool -static -o $<TARGET_FILE:${TARGET}> 5 - + COMMAND libtool -static -o $<TARGET_FILE:${TARGET}>
+1 -1
pkgs/top-level/all-packages.nix
··· 17839 17839 mysql80 = callPackage ../servers/sql/mysql/8.0.x.nix { 17840 17840 inherit (darwin) cctools developer_cmds; 17841 17841 inherit (darwin.apple_sdk.frameworks) CoreServices; 17842 - boost = boost169; # Configure checks for specific version. 17842 + boost = boost173; # Configure checks for specific version. 17843 17843 protobuf = protobuf3_7; 17844 17844 }; 17845 17845