Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / misc / datafusion / default.nix
blob49f33e016ed5b8ce430a119bc3d4bf4552567a89
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , stdenv
5 , darwin
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "datafusion-cli";
10   version = "32.0.0";
12   src = fetchFromGitHub {
13     name = "datafusion-cli-source";
14     owner = "apache";
15     repo = "arrow-datafusion";
16     rev = version;
17     sha256 = "sha256-QJOv2neEOxLvWoGuS3QyBqGOBi1KJQ8feK6LOrHBL8g=";
18   };
20   sourceRoot = "${src.name}/datafusion-cli";
22   cargoHash = "sha256-NYdxDFUBOBC3nTZB8STdZfOz3Dw0htFCqE0qBRMzQvw=";
24   buildInputs = lib.optionals stdenv.isDarwin [
25     darwin.apple_sdk.frameworks.Security
26   ];
28   checkFlags = [
29     # fails even outside the Nix sandbox
30     "--skip=object_storage::tests::s3_region_validation"
31     # broken
32     "--skip=exec::tests::create_object_store_table_gcs"
33   ];
35   meta = with lib; {
36     description = "cli for Apache Arrow DataFusion";
37     homepage = "https://arrow.apache.org/datafusion";
38     changelog = "https://github.com/apache/arrow-datafusion/blob/${version}/datafusion/CHANGELOG.md";
39     license = licenses.asl20;
40     maintainers = with maintainers; [ happysalada ];
41   };