diff options
Diffstat (limited to 'pkgs/development/python-modules/dask-awkward/default.nix')
-rw-r--r-- | pkgs/development/python-modules/dask-awkward/default.nix | 51 |
1 files changed, 24 insertions, 27 deletions
diff --git a/pkgs/development/python-modules/dask-awkward/default.nix b/pkgs/development/python-modules/dask-awkward/default.nix index e24b06a23b68c..4663d25cffcfc 100644 --- a/pkgs/development/python-modules/dask-awkward/default.nix +++ b/pkgs/development/python-modules/dask-awkward/default.nix @@ -1,21 +1,22 @@ -{ lib -, awkward -, buildPythonPackage -, cachetools -, dask -, dask-histogram -, distributed -, fetchFromGitHub -, hatch-vcs -, hatchling -, hist -, pandas -, pyarrow -, pytestCheckHook -, pythonOlder -, pythonRelaxDepsHook -, typing-extensions -, uproot +{ + lib, + awkward, + buildPythonPackage, + cachetools, + dask, + dask-histogram, + distributed, + fetchFromGitHub, + hatch-vcs, + hatchling, + hist, + pandas, + pyarrow, + pytestCheckHook, + pythonOlder, + pythonRelaxDepsHook, + typing-extensions, + uproot, }: buildPythonPackage rec { @@ -32,9 +33,7 @@ buildPythonPackage rec { hash = "sha256-Lkbp/XrDHOekMpT71pbxtuozgzU9iiGF2GJZ+tuV/yM="; }; - pythonRelaxDeps = [ - "awkward" - ]; + pythonRelaxDeps = [ "awkward" ]; nativeBuildInputs = [ hatch-vcs @@ -50,9 +49,7 @@ buildPythonPackage rec { ]; passthru.optional-dependencies = { - io = [ - pyarrow - ]; + io = [ pyarrow ]; }; checkInputs = [ @@ -64,9 +61,7 @@ buildPythonPackage rec { uproot ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); - pythonImportsCheck = [ - "dask_awkward" - ]; + pythonImportsCheck = [ "dask_awkward" ]; disabledTests = [ # Tests require network access @@ -77,6 +72,8 @@ buildPythonPackage rec { "test_basic_root_works" ]; + __darwinAllowLocalNetworking = true; + meta = with lib; { description = "Native Dask collection for awkward arrays, and the library to use it"; homepage = "https://github.com/dask-contrib/dask-awkward"; |