datafusion-cli: 45.0.0 -> 47.0.0 (#400503)

This commit is contained in:
Yt
2025-04-21 17:03:45 -04:00
committed by GitHub
+14 -17
View File
@@ -2,30 +2,24 @@
lib,
rustPlatform,
fetchFromGitHub,
stdenv,
darwin,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "datafusion-cli";
version = "45.0.0";
version = "47.0.0";
src = fetchFromGitHub {
name = "datafusion-cli-source";
owner = "apache";
repo = "arrow-datafusion";
rev = version;
sha256 = "sha256-XIxUp4i68psNtKoFR/uVJHCToz681m2q8qUhtMQKCLo=";
tag = finalAttrs.version;
hash = "sha256-IKG0sLF5LAS2Tch3hdzsGHwAf2k43aVvMo1a29pxza0=";
};
sourceRoot = "${src.name}/datafusion-cli";
useFetchCargoVendor = true;
cargoHash = "sha256-qJjZ4Um2K27IJy7w99kJGs5ZB1y57xd6P896+Hm2GOg=";
cargoHash = "sha256-kl2+cVQhEkRsQWO8w3WEtXAoVIqj3s3IcbRBn175yxg=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
];
buildAndTestSubdir = "datafusion-cli";
checkFlags = [
# Some tests not found fake path
@@ -41,12 +35,15 @@ rustPlatform.buildRustPackage rec {
"--skip=tests::test_parquet_metadata_works_with_strings"
];
meta = with lib; {
# timeout
doCheck = false;
meta = {
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 ];
changelog = "https://github.com/apache/arrow-datafusion/blob/${finalAttrs.version}/datafusion/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ happysalada ];
};
}
})