arrow-cpp: enable azure filesystem support

This commit is contained in:
Tobias Mayer
2025-12-09 17:28:56 +01:00
parent 7ccf4f1ab3
commit e43405ce12
+8
View File
@@ -17,6 +17,7 @@
"transfer"
];
},
azure-sdk-for-cpp,
boost,
brotli,
bzip2,
@@ -59,6 +60,7 @@
enableS3 ? true,
# google-cloud-cpp fails to build on RiscV
enableGcs ? !stdenv.hostPlatform.isDarwin && !stdenv.hostPlatform.isRiscV64,
enableAzure ? true,
}:
let
@@ -170,6 +172,11 @@ stdenv.mkDerivation (finalAttrs: {
google-cloud-cpp
grpc
nlohmann_json
]
++ lib.optionals enableAzure [
azure-sdk-for-cpp.identity
azure-sdk-for-cpp.storage-blobs
azure-sdk-for-cpp.storage-files-datalake
];
# apache-orc looks for things in caps
@@ -224,6 +231,7 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeBool "ARROW_FLIGHT_TESTING" enableFlight)
(lib.cmakeBool "ARROW_S3" enableS3)
(lib.cmakeBool "ARROW_GCS" enableGcs)
(lib.cmakeBool "ARROW_AZURE" enableAzure)
(lib.cmakeBool "ARROW_ORC" true)
# Parquet options:
(lib.cmakeBool "ARROW_PARQUET" true)