nixpkgs/pkgs/development/misc/datafusion/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
1.1 KiB
Nix
Raw Normal View History

{ lib
, rustPlatform
, fetchFromGitHub
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "datafusion-cli";
2023-12-08 17:23:18 +03:00
version = "33.0.0";
src = fetchFromGitHub {
2023-04-15 15:14:11 +03:00
name = "datafusion-cli-source";
owner = "apache";
repo = "arrow-datafusion";
rev = version;
2023-12-08 17:23:18 +03:00
sha256 = "sha256-ywyzvk50Fr9TSaCrqd14lSi1PJ9ggA1YQ/X0aFGFk1M=";
};
sourceRoot = "${src.name}/datafusion-cli";
2023-04-15 15:14:11 +03:00
2023-12-08 17:23:18 +03:00
cargoHash = "sha256-0a/O9nNi3JLufQxG+5EgCXtV0y03X7R6UY+f/tVGB90=";
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
checkFlags = [
# fails even outside the Nix sandbox
"--skip=object_storage::tests::s3_region_validation"
2023-04-15 15:14:11 +03:00
# broken
"--skip=exec::tests::create_object_store_table_gcs"
];
meta = with lib; {
description = "cli for Apache Arrow DataFusion";
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 ];
};
}