Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 75 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576{ 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.5"; pyproject = true;
src = fetchFromGitHub { owner = "scikit-hep"; repo = "awkward"; tag = "v${version}"; hash = "sha256-vcVJ9dLiZ3wfZU989slefSJoD2hKlRCwxRALvRGLZPA="; };
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 ];
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 ]; };}