mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
python312Packages.datafusion: 38.0.1 -> 40.1.0 (#341997)
This commit is contained in:
commit
b6227cadb5
1 changed files with 10 additions and 4 deletions
|
@ -11,6 +11,7 @@
|
||||||
pyarrow,
|
pyarrow,
|
||||||
Security,
|
Security,
|
||||||
SystemConfiguration,
|
SystemConfiguration,
|
||||||
|
typing-extensions,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -33,7 +34,7 @@ in
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "datafusion";
|
pname = "datafusion";
|
||||||
version = "38.0.1";
|
version = "40.1.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
@ -41,13 +42,13 @@ buildPythonPackage rec {
|
||||||
owner = "apache";
|
owner = "apache";
|
||||||
repo = "arrow-datafusion-python";
|
repo = "arrow-datafusion-python";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-rBS6i2HqpdhnhZZfO0ywL/e4a+rnUZkHzezKd8PuG80=";
|
hash = "sha256-5WOSlx4XW9zO6oTY16lWQElShLv0ubflVPfSSEGrFgg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
name = "datafusion-cargo-deps";
|
name = "datafusion-cargo-deps";
|
||||||
inherit src;
|
inherit src;
|
||||||
hash = "sha256-M2ZNAFWdsnN9C4+YbqFxZVH9fHR10Bimf1Xzrd9oy9E=";
|
hash = "sha256-hN03tbnH77VsMDxSMddMHIH00t7lUs5h8rTHbiMIExw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with rustPlatform; [
|
nativeBuildInputs = with rustPlatform; [
|
||||||
|
@ -63,13 +64,18 @@ buildPythonPackage rec {
|
||||||
SystemConfiguration
|
SystemConfiguration
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ pyarrow ];
|
dependencies = [
|
||||||
|
pyarrow
|
||||||
|
typing-extensions
|
||||||
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
numpy
|
numpy
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "datafusion" ];
|
pythonImportsCheck = [ "datafusion" ];
|
||||||
|
|
||||||
pytestFlagsArray = [
|
pytestFlagsArray = [
|
||||||
"--pyargs"
|
"--pyargs"
|
||||||
pname
|
pname
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue