git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.pyarrow: enable flight module
da8dfd5Phillip Cloud
pkgs/development/libraries/arrow-cpp/default.nix+3
@@ -238,4 +238,7 @@ stdenv.mkDerivation rec {
238 platforms = platforms.unix;
238 platforms = platforms.unix;
239 maintainers = with maintainers; [ tobim veprbl cpcloud ];
239 maintainers = with maintainers; [ tobim veprbl cpcloud ];
240 };
240 };
241+ passthru = {
242+ inherit enableFlight enableJemalloc enableS3 enableGcs;
243+ };
241}
244}
pkgs/development/python-modules/pyarrow/default.nix+5
@@ -19,6 +19,7 @@ buildPythonPackage rec {
19 PYARROW_BUILD_TYPE = "release";
19 PYARROW_BUILD_TYPE = "release";
20
20
21 PYARROW_WITH_DATASET = true;
21 PYARROW_WITH_DATASET = true;
22+ PYARROW_WITH_FLIGHT = _arrow-cpp.enableFlight;
22 PYARROW_WITH_PARQUET = true;
23 PYARROW_WITH_PARQUET = true;
23
24
24 PYARROW_CMAKE_OPTIONS = [
25 PYARROW_CMAKE_OPTIONS = [
@@ -28,9 +29,13 @@ buildPythonPackage rec {
28 # ourselves
29 # ourselves
29 "-DCMAKE_POLICY_DEFAULT_CMP0025=NEW"
30 "-DCMAKE_POLICY_DEFAULT_CMP0025=NEW"
30 ];
31 ];
32+
31 ARROW_HOME = _arrow-cpp;
33 ARROW_HOME = _arrow-cpp;
32 PARQUET_HOME = _arrow-cpp;
34 PARQUET_HOME = _arrow-cpp;
33
35
36+ ARROW_TEST_DATA = lib.optionalString doCheck _arrow-cpp.ARROW_TEST_DATA;
37+
38+ doCheck = true;
34 dontUseCmakeConfigure = true;
39 dontUseCmakeConfigure = true;
35
40
36 preBuild = ''
41 preBuild = ''