anchor.diff:  in
   stdenv.mkDerivation rec {
     pname = "arrow-cpp";
  -  version = "7.0.0";
  +  version = "8.0.0";
   
     src = fetchurl {
  -    url =
  -      "mirror://apache/arrow/arrow-${version}/apache-arrow-${version}.tar.gz";
  -    hash = "sha256-6PSbFJoV7O9OQPz6sbh8ETxrHuGGAFwWnlzfldMamd4=";
  +    url = "mirror://apache/arrow/arrow-${version}/apache-arrow-${version}.tar.gz";
  +    hash = "sha256-rZoFcFEXyYnBFrrprHBJL+AVBQ4bgPsOOP3ktdhjqqM=";
     };
     sourceRoot = "apache-arrow-${version}/cpp";
   
     ${if enableJemalloc then "ARROW_JEMALLOC_URL" else null} = jemalloc.src;
   
  +  # versions are all taken from
  +  # https://github.com/apache/arrow/blob/apache-arrow-8.0.0/cpp/thirdparty/versions.txt
  +
     ARROW_MIMALLOC_URL = fetchFromGitHub {
  -    # From
  -    # ./cpp/cmake_modules/ThirdpartyToolchain.cmake
  -    # ./cpp/thirdparty/versions.txt
       owner = "microsoft";
       repo = "mimalloc";
       rev = "v1.7.3";
  
positive.code:     # Disable Python for static mode because openblas is currently broken there.
      "-DARROW_PYTHON=${if enableShared then "ON" else "OFF"}"
      "-DARROW_USE_GLOG=ON"
      "-DARROW_WITH_BROTLI=ON"
      "-DARROW_WITH_LZ4=ON"
      "-DARROW_WITH_SNAPPY=ON"
      "-DARROW_WITH_UTF8PROC=ON"
      "-DARROW_WITH_ZLIB=ON"
  
negative.code:     gflags
      glog
      gtest
      libbacktrace
      lz4
      nlohmann_json # alternative JSON parser to rapidjson
      protobuf # substrait requires protobuf
      rapidjson
      re2
      snappy
  