Unverified Commit c52b688e authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #226842 from aaronjheng/mysql-shell

mysql-shell: 8.0.32 -> 8.0.33
parents c9720580 baf549a9
Loading
Loading
Loading
Loading
+4 −10
Original line number Diff line number Diff line
@@ -27,7 +27,6 @@
, re2
, ncurses
, libfido2
, v8
, python3
, cyrus_sasl
, openldap
@@ -39,16 +38,16 @@ let
in
stdenv.mkDerivation rec {
  pname = "mysql-shell";
  version = "8.0.32";
  version = "8.0.33";

  srcs = [
    (fetchurl {
      url = "https://cdn.mysql.com//Downloads/MySQL-Shell/mysql-shell-${version}-src.tar.gz";
      hash = "sha256-GUkeZ856/olOssiqkb3qc8ddnianVGXwrcW6hrIG3wE=";
      hash = "sha256-ElcAOvyQjXNns35p4J+jnGu8orZR81Itz/fxYh7Usbs=";
    })
    (fetchurl {
      url = "https://dev.mysql.com/get/Downloads/MySQL-${lib.versions.majorMinor version}/mysql-${version}.tar.gz";
      hash = "sha256-Hw2SojeJgkRxbdWB95k1bgc8LaY8Oy5KAeEDLL7VDig=";
      hash = "sha256-liAC9dkG9C9AsnejnS25OTEkjB8H/49DEsKI5jgD3RI=";
    })
  ];

@@ -83,7 +82,6 @@ stdenv.mkDerivation rec {
    libfido2
    cyrus_sasl
    openldap
    v8
    python3
    antlr.runtime.cpp
  ] ++ pythonDeps
@@ -108,14 +106,10 @@ stdenv.mkDerivation rec {
    "-DWITH_LZ4=system"
    "-DWITH_ZLIB=system"
    "-DWITH_PROTOBUF=${protobuf}"
    "-DHAVE_V8=1"
    "-DV8_INCLUDE_DIR=${v8}/include"
    "-DV8_LIB_DIR=${v8}/lib"
    "-DHAVE_V8=0" # V8 10.x required.
    "-DHAVE_PYTHON=1"
  ];

  CXXFLAGS = [ "-DV8_COMPRESS_POINTERS=1" "-DV8_31BIT_SMIS_ON_64BIT_ARCH=1" ];

  postFixup = ''
    wrapProgram $out/bin/mysqlsh --set PYTHONPATH "${lib.makeSearchPath python3.sitePackages pythonDeps}"
  '';
+0 −1
Original line number Diff line number Diff line
@@ -881,7 +881,6 @@ with pkgs;
    boost = boost177; # Configure checks for specific version.
    protobuf = protobuf3_19;
    icu =  icu69;
    v8 = v8_8_x;
  };
  broadlink-cli = callPackage ../tools/misc/broadlink-cli { };