Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 80 lines
Nix
at flake-libs
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081{ lib, buildPythonPackage, fetchFromGitHub,
# build-system hatch-fancy-pypi-readme, hatchling,
# dependencies awkward-cpp, fsspec, numpy, packaging,
# tests numba, numexpr, pandas, pyarrow, pytest-xdist, pytestCheckHook,}:
buildPythonPackage rec { pname = "awkward"; version = "2.8.3"; pyproject = true;
src = fetchFromGitHub { owner = "scikit-hep"; repo = "awkward"; tag = "v${version}"; hash = "sha256-l7XCgD5UvQTva3lsKZmFSIT0nxReGuslWWuar31+pQQ="; };
build-system = [ hatch-fancy-pypi-readme hatchling ];
dependencies = [ awkward-cpp fsspec numpy packaging ];
dontUseCmakeConfigure = true;
pythonImportsCheck = [ "awkward" ];
nativeCheckInputs = [ fsspec numba numexpr pandas pyarrow pytest-xdist pytestCheckHook ];
disabledTests = [ # pyarrow.lib.ArrowInvalid "test_recordarray" ];
disabledTestPaths = [ # Need to be run on a GPU platform. "tests-cuda" ];
meta = { description = "Manipulate JSON-like data with NumPy-like idioms"; homepage = "https://github.com/scikit-hep/awkward"; changelog = "https://github.com/scikit-hep/awkward/releases/tag/${src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ veprbl ]; };}