···
18
-
arrow-testing = fetchFromGitHub {
19
-
name = "arrow-testing";
21
-
repo = "arrow-testing";
22
-
rev = "4d209492d514c2d3cb2d392681b9aa00e6d8da1c";
23
-
hash = "sha256-IkiCbuy0bWyClPZ4ZEdkEP7jFYLhM7RCuNLd6Lazd4o=";
26
-
parquet-testing = fetchFromGitHub {
27
-
name = "parquet-testing";
29
-
repo = "parquet-testing";
30
-
rev = "50af3d8ce206990d81014b1862e5ce7380dc3e08";
31
-
hash = "sha256-edyv/r5olkj09aHtm8LHZY0b3jUtLNUcufwI41qKYaY=";
···
repo = "arrow-datafusion-python";
45
-
hash = "sha256-5WOSlx4XW9zO6oTY16lWQElShLv0ubflVPfSSEGrFgg=";
33
+
# Fetch arrow-testing and parquet-testing (tests assets)
34
+
fetchSubmodules = true;
35
+
hash = "sha256-9IOkb31f4nFo9mWTr+z5ZG8xSXIZSgW3vCBgLaGxpfI=";
cargoDeps = rustPlatform.fetchCargoVendor {
49
-
name = "datafusion-cargo-deps";
51
-
hash = "sha256-xUpchV4UFEX1HkCpClOwxnEfGLVlOIX4UmzYKiUth9U=";
39
+
inherit pname src version;
40
+
hash = "sha256-P9NFvhHAGgYIi36CHEPZPr8hmMNp5zrCcmE7NHx51k4=";
nativeBuildInputs = with rustPlatform; [
···
63
-
++ lib.optionals stdenv.hostPlatform.isDarwin [
···
77
-
pythonImportsCheck = [ "datafusion" ];
64
+
pythonImportsCheck = [
66
+
"datafusion._internal"
86
-
ln -s ${arrow-testing} ./testing
87
-
ln -s ${parquet-testing} ./parquet
70
+
rm -rf python/datafusion
74
+
# Exception: DataFusion error (requires internet access)
75
+
"test_register_http_csv"
description = "Extensible query execution framework";
DataFusion is an extensible query execution framework, written in Rust,
···
homepage = "https://arrow.apache.org/datafusion/";
changelog = "https://github.com/apache/arrow-datafusion-python/blob/${version}/CHANGELOG.md";
102
-
license = with licenses; [ asl20 ];
103
-
maintainers = with maintainers; [ cpcloud ];
86
+
license = with lib.licenses; [ asl20 ];
87
+
maintainers = with lib.maintainers; [ cpcloud ];