Merge pull request #147718 from cpcloud/pyarrow-enable-extra-modules

python3Packages.pyarrow: enable dataset and flight modules

authored by Dmitry Kalinkin and committed by GitHub 365b448d 7f8ebc6d

+12 -1
+3
pkgs/development/libraries/arrow-cpp/default.nix
··· 238 238 platforms = platforms.unix; 239 239 maintainers = with maintainers; [ tobim veprbl cpcloud ]; 240 240 }; 241 + passthru = { 242 + inherit enableFlight enableJemalloc enableS3 enableGcs; 243 + }; 241 244 }
+9 -1
pkgs/development/python-modules/pyarrow/default.nix
··· 17 17 checkInputs = [ hypothesis pandas pytestCheckHook pytest-lazy-fixture ]; 18 18 19 19 PYARROW_BUILD_TYPE = "release"; 20 + 21 + PYARROW_WITH_DATASET = true; 22 + PYARROW_WITH_FLIGHT = _arrow-cpp.enableFlight; 20 23 PYARROW_WITH_PARQUET = true; 24 + 21 25 PYARROW_CMAKE_OPTIONS = [ 22 26 "-DCMAKE_INSTALL_RPATH=${ARROW_HOME}/lib" 23 27 ··· 25 29 # ourselves 26 30 "-DCMAKE_POLICY_DEFAULT_CMP0025=NEW" 27 31 ]; 32 + 28 33 ARROW_HOME = _arrow-cpp; 29 34 PARQUET_HOME = _arrow-cpp; 30 35 36 + ARROW_TEST_DATA = lib.optionalString doCheck _arrow-cpp.ARROW_TEST_DATA; 37 + 38 + doCheck = true; 31 39 dontUseCmakeConfigure = true; 32 40 33 41 preBuild = '' ··· 62 70 homepage = "https://arrow.apache.org/"; 63 71 license = licenses.asl20; 64 72 platforms = platforms.unix; 65 - maintainers = with maintainers; [ veprbl ]; 73 + maintainers = with maintainers; [ veprbl cpcloud ]; 66 74 }; 67 75 }