Merge pull request #324325 from wegank/deltalake-darwin

python311Packages.deltalake: fix build on darwin
This commit is contained in:
Aleksana 2024-07-04 11:23:25 +08:00 committed by GitHub
commit 38c690a086
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,9 @@
, pyarrow
, pyarrow-hotfix
, openssl
, stdenv
, darwin
, libiconv
, pkg-config
, pytestCheckHook
, pytest-benchmark
@ -34,7 +37,13 @@ buildPythonPackage rec {
pyarrow-hotfix
];
buildInputs = [ openssl ];
buildInputs = [
openssl
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
libiconv
];
nativeBuildInputs = [
pkg-config # openssl-sys needs this