python3Packages.datafusion: fix darwin build

This commit is contained in:
happysalada 2023-04-15 23:34:52 -04:00 committed by Yt
parent 98e434a890
commit fb20a53c1d
2 changed files with 5 additions and 2 deletions

View file

@ -9,6 +9,7 @@
, numpy
, protobuf
, pyarrow
, Security
}:
let
@ -53,7 +54,7 @@ buildPythonPackage rec {
maturinBuildHook
];
buildInputs = [ protobuf ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
buildInputs = [ protobuf ] ++ lib.optionals stdenv.isDarwin [ libiconv Security ];
propagatedBuildInputs = [ pyarrow ];

View file

@ -2278,7 +2278,9 @@ self: super: with self; {
datadog = callPackage ../development/python-modules/datadog { };
datafusion = callPackage ../development/python-modules/datafusion { };
datafusion = callPackage ../development/python-modules/datafusion {
inherit (pkgs.darwin.apple_sdk.frameworks) Security;
};
datamodeldict = callPackage ../development/python-modules/datamodeldict { };