pythonPackages.pyarrow: init at 0.8.0
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, symlinkJoin, fetchurl, boost, brotli, cmake, flatbuffers, gtest, gflags, lz4, rapidjson, snappy, zlib, zstd }:
|
||||
{ stdenv, symlinkJoin, fetchurl, boost, brotli, cmake, flatbuffers, gtest, gflags, lz4, pythonPackages, rapidjson, snappy, zlib, zstd }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "arrow-cpp-${version}";
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
sourceRoot = "apache-arrow-${version}/cpp";
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ boost ];
|
||||
buildInputs = [ boost pythonPackages.python pythonPackages.numpy ];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace cmake_modules/FindBrotli.cmake --replace CMAKE_STATIC_LIBRARY CMAKE_SHARED_LIBRARY
|
||||
@@ -30,6 +30,10 @@ stdenv.mkDerivation rec {
|
||||
ZLIB_HOME = symlinkJoin { name="zlib-wrap"; paths = [ zlib.dev zlib.static ]; };
|
||||
ZSTD_HOME = zstd;
|
||||
|
||||
cmakeFlags = [
|
||||
"-DARROW_PYTHON=ON"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "A cross-language development platform for in-memory data";
|
||||
homepage = https://arrow.apache.org/;
|
||||
|
||||
Reference in New Issue
Block a user