anchor.diff:      "-DARROW_COMPUTE=ON"
       "-DARROW_CSV=ON"
       "-DARROW_DATASET=ON"
  +    "-DARROW_ENGINE=ON"
  +    "-DARROW_FILESYSTEM=ON"
  +    "-DARROW_FLIGHT_SQL=ON"
  +    "-DARROW_IPC=ON"
       "-DARROW_JEMALLOC=${if enableJemalloc then "ON" else "OFF"}"
       "-DARROW_JSON=ON"
       "-DARROW_PLASMA=ON"
  
positive.code:         "TestMinioServer.Connect"
          "TestS3FS.*"
          "TestS3FSGeneric.*"
        ] ++ lib.optionals enableGcs [
          "GcsFileSystem.FileSystemCompare"
          "GcsIntegrationTest.*"
        ];
      in
      lib.optionalString doInstallCheck "-${builtins.concatStringsSep ":" filteredTests}";
    installCheckInputs = [ perl which ] ++ lib.optional enableS3 minio;
    installCheckPhase =
      let
        excludedTests = lib.optionals stdenv.isDarwin [
  
negative.code:   arrow-testing = fetchFromGitHub {
      owner = "apache";
      repo = "arrow-testing";
      rev = "634739c664433cec366b4b9a81d1e1044a8c5eda";
      hash = "sha256-r1WVgJJsI7v485L6Qb+5i7kFO4Tvxyk1T0JBb4og6pg=";
    };
  
    parquet-testing = fetchFromGitHub {
      owner = "apache";
      repo = "parquet-testing";
      rev = "acd375eb86a81cd856476fca0f52ba6036a067ff";
      hash = "sha256-z/kmi+4dBO/dsVkJA4NgUoxl0pXi8RWIGvI8MGu/gcc=";
    };
  
  in
  stdenv.mkDerivation rec {
    pname = "arrow-cpp";
    version = "7.0.0";
  
    src = fetchurl {
      url =
        "mirror://apache/arrow/arrow-${version}/apache-arrow-${version}.tar.gz";
      hash = "sha256-6PSbFJoV7O9OQPz6sbh8ETxrHuGGAFwWnlzfldMamd4=";
    };
    sourceRoot = "apache-arrow-${version}/cpp";
  
  