mysql-shell: 8.0.29 -> 8.0.30

This commit is contained in:
Aaron Jheng 2022-06-25 07:32:43 +00:00
parent f5288876d3
commit 92086ff14b
No known key found for this signature in database
GPG Key ID: F6A547A869D050A3
2 changed files with 5 additions and 8 deletions

View File

@ -40,16 +40,16 @@ let
in
stdenv.mkDerivation rec{
pname = "mysql-shell";
version = "8.0.29";
version = "8.0.30";
srcs = [
(fetchurl {
url = "https://cdn.mysql.com//Downloads/MySQL-Shell/mysql-shell-${version}-src.tar.gz";
sha256 = "sha256-ijwyamQgMoUEcMNpIJjJxH/dRuRFpdcXGmQqpD+WrmA=";
sha256 = "sha256-/UJgcYkPG8RShZzybqdcMQDpNUTVWAfAa2p0Cm23fXA=";
})
(fetchurl {
url = "https://dev.mysql.com/get/Downloads/MySQL-${lib.versions.majorMinor version}/mysql-${version}.tar.gz";
sha256 = "sha256-USFw+m94ppTW8Y0ZfpmdJxbuaNxUHXZE3ZIqNmNAcmY=";
sha256 = "sha256-yYjVxrqaVmkqbNbpgTRltfyTaO1LRh35cFmi/BYMi4Q=";
})
];
@ -95,9 +95,6 @@ stdenv.mkDerivation rec{
-DFORCE_UNSUPPORTED_COMPILER=1 -S ../mysql-${version} -B ../mysql-${version}/build
cmake --build ../mysql-${version}/build --parallel ''${NIX_BUILD_CORES:-1} --target mysqlclient mysqlxclient
# Get libv8_monolith
mkdir -p ../v8/lib && ln -s ${v8}/lib/libv8.a ../v8/lib/libv8_monolith.a
'';
cmakeFlags = [
@ -110,7 +107,7 @@ stdenv.mkDerivation rec{
"-DWITH_PROTOBUF=${protobuf}"
"-DHAVE_V8=1"
"-DV8_INCLUDE_DIR=${v8}/include"
"-DV8_LIB_DIR=../v8/lib"
"-DV8_LIB_DIR=${v8}/lib"
"-DHAVE_PYTHON=1"
];

View File

@ -691,7 +691,7 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) CoreServices;
boost = boost177; # Configure checks for specific version.
protobuf = protobuf3_19;
icu = icu67;
icu = icu69;
v8 = v8_8_x;
};