blob: 4e324ac765493bbf9f7c311d672e52b4f607efa7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{
lib,
rustPlatform,
fetchFromGitHub,
stdenv,
darwin,
}:
rustPlatform.buildRustPackage rec {
pname = "datafusion-cli";
version = "42.0.0";
src = fetchFromGitHub {
name = "datafusion-cli-source";
owner = "apache";
repo = "arrow-datafusion";
rev = version;
sha256 = "sha256-d8DR9I+6ddl5h8WSYBM3UyLUhZe+ICsTfraQkBouMYY=";
};
sourceRoot = "${src.name}/datafusion-cli";
cargoHash = "sha256-/ofwZI+v0zoszq5zAQRCyqeVrF/ozS8mHHpPdaklhaE=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
];
checkFlags = [
# Some tests not found fake path
"--skip=catalog::tests::query_gs_location_test"
"--skip=catalog::tests::query_http_location_test"
"--skip=catalog::tests::query_s3_location_test"
"--skip=exec::tests::copy_to_external_object_store_test"
"--skip=exec::tests::copy_to_object_store_table_s3"
"--skip=exec::tests::create_object_store_table_cos"
"--skip=exec::tests::create_object_store_table_http"
"--skip=exec::tests::create_object_store_table_oss"
"--skip=exec::tests::create_object_store_table_s3"
"--skip=tests::test_parquet_metadata_works_with_strings"
];
meta = with lib; {
description = "cli for Apache Arrow DataFusion";
mainProgram = "datafusion-cli";
homepage = "https://arrow.apache.org/datafusion";
changelog = "https://github.com/apache/arrow-datafusion/blob/${version}/datafusion/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ happysalada ];
};
}
|