anchor.diff:    patches = [
       # patch to fix python-test
       ./darwin.patch
  -  ] ++ stdenv.lib.optionals (!enableShared) [
  +  ] ++ lib.optionals (!enableShared) [
       # The shared jemalloc lib is unused and breaks in static mode due to missing -fpic.
       ./jemalloc-disable-shared.patch
     ];
  
positive.code: { stdenv, fetchurl, fetchFromGitHub, fixDarwinDylibNames, autoconf, boost
  , brotli, cmake, double-conversion, flatbuffers, gflags, glog, gtest, lz4, perl
  , python, rapidjson, snappy, thrift, uriparser, which, zlib, zstd
  , enableShared ? true }:
  
negative.code:   meta = {
      description = "A  cross-language development platform for in-memory data";
      homepage = "https://arrow.apache.org/";
      license = lib.licenses.asl20;
      platforms = lib.platforms.unix;
      maintainers = with lib.maintainers; [ tobim veprbl ];
    };
  }
  