Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.7 kB · 90 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub,
# build-system hatch-vcs, hatchling,
# dependencies awkward, cachetools, dask, typing-extensions,
# optional-dependencies pyarrow,
# checks dask-histogram, distributed, hist, pandas, pytestCheckHook, uproot,}:
buildPythonPackage rec { pname = "dask-awkward"; version = "2024.7.0"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "dask-contrib"; repo = "dask-awkward"; rev = "refs/tags/${version}"; hash = "sha256-xy3rq/gXQUtquvyWSCcBjZ+gUYT3RzxMgXThyT6Fwec="; };
pythonRelaxDeps = [ "awkward" ];
build-system = [ hatch-vcs hatchling ];
dependencies = [ awkward cachetools dask typing-extensions ];
optional-dependencies = { io = [ pyarrow ]; };
checkInputs = [ dask-histogram distributed hist pandas pytestCheckHook uproot ] ++ lib.flatten (builtins.attrValues optional-dependencies);
pythonImportsCheck = [ "dask_awkward" ];
disabledTests = [ # Tests require network access "test_remote_double" "test_remote_single" "test_from_text" # ValueError: not a ROOT file: first four bytes... "test_basic_root_works" ];
__darwinAllowLocalNetworking = true;
meta = { description = "Native Dask collection for awkward arrays, and the library to use it"; homepage = "https://github.com/dask-contrib/dask-awkward"; changelog = "https://github.com/dask-contrib/dask-awkward/releases/tag/${version}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ veprbl ]; };}