pythonPackages.pyarrow: init at 0.8.0

This commit is contained in:
Dmitry Kalinkin
2018-03-18 20:13:16 -04:00
parent c5df226c73
commit f9192c5424
3 changed files with 57 additions and 2 deletions

View File

@@ -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/;