mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 13:24:29 +00:00
python311Packages.dask-awkward: adjust inputs (#291337)
This commit is contained in:
parent
ff78857306
commit
ac85b4b653
@ -2,13 +2,19 @@
|
||||
, awkward
|
||||
, buildPythonPackage
|
||||
, dask
|
||||
, dask-histogram
|
||||
, distributed
|
||||
, fetchFromGitHub
|
||||
, hatch-vcs
|
||||
, hatchling
|
||||
, hist
|
||||
, pandas
|
||||
, pyarrow
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, typing-extensions
|
||||
, uproot
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -38,12 +44,23 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [
|
||||
awkward
|
||||
dask
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
io = [
|
||||
pyarrow
|
||||
];
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
dask-histogram
|
||||
distributed
|
||||
hist
|
||||
pandas
|
||||
pytestCheckHook
|
||||
pyarrow
|
||||
];
|
||||
uproot
|
||||
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
|
||||
|
||||
pythonImportsCheck = [
|
||||
"dask_awkward"
|
||||
@ -54,6 +71,8 @@ buildPythonPackage rec {
|
||||
"test_remote_double"
|
||||
"test_remote_single"
|
||||
"test_from_text"
|
||||
# ValueError: not a ROOT file: first four bytes...
|
||||
"test_basic_root_works"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user