mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
python3Packages.datafusion: 25.0.0 -> 35.0.0
Also added SystemConfiguration since it seems to depend on it in Darwin
This commit is contained in:
parent
0855890473
commit
8ff37e160c
@ -9,6 +9,7 @@
|
||||
, protobuf
|
||||
, pyarrow
|
||||
, Security
|
||||
, SystemConfiguration
|
||||
}:
|
||||
|
||||
let
|
||||
@ -31,7 +32,7 @@ in
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "datafusion";
|
||||
version = "25.0.0";
|
||||
version = "35.0.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@ -39,13 +40,13 @@ buildPythonPackage rec {
|
||||
owner = "apache";
|
||||
repo = "arrow-datafusion-python";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-oC+fp41a9rsdobpvShZ7sDdtYPJQQ7JLg6MFL+4Pksg=";
|
||||
hash = "sha256-43XY7j/8x+7SCY4W8nysaeWax2nvTTHZXMmy3hSz6pI=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
name = "datafusion-cargo-deps";
|
||||
inherit src pname version;
|
||||
hash = "sha256-0e0ZRgwcS/46mi4c2loAnBA2bsaD+/RiMh7oNg3EvHY=";
|
||||
hash = "sha256-YWAyEMojw0bc/fu5kIZKMNPEgsAIpWqjVNodWXbgTl4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with rustPlatform; [
|
||||
@ -53,7 +54,11 @@ buildPythonPackage rec {
|
||||
maturinBuildHook
|
||||
];
|
||||
|
||||
buildInputs = [ protobuf ] ++ lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||
buildInputs = [ protobuf ] ++ lib.optionals stdenv.isDarwin [
|
||||
libiconv
|
||||
Security
|
||||
SystemConfiguration
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ pyarrow ];
|
||||
|
||||
|
@ -2661,7 +2661,7 @@ self: super: with self; {
|
||||
datadog = callPackage ../development/python-modules/datadog { };
|
||||
|
||||
datafusion = callPackage ../development/python-modules/datafusion {
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) Security;
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
||||
};
|
||||
|
||||
datamodeldict = callPackage ../development/python-modules/datamodeldict { };
|
||||
|
Loading…
Reference in New Issue
Block a user