{ lib , buildPythonPackage , fetchPypi , cmake , numba , numpy , pytestCheckHook , pyyaml , rapidjson , setuptools }: buildPythonPackage rec { pname = "awkward"; version = "1.9.0"; src = fetchPypi { inherit pname version; sha256 = "sha256-yteZI35DcLUPd+cW543TVlp7P9gvzVpBp2qhUS1RB10="; }; nativeBuildInputs = [ cmake ]; buildInputs = [ pyyaml rapidjson ]; propagatedBuildInputs = [ numpy setuptools ]; # https://github.com/scikit-hep/awkward/blob/main/requirements.txt dontUseCmakeConfigure = true; checkInputs = [ pytestCheckHook numba ]; disabledTests = [ # incomatible with numpy 1.23 "test_numpyarray" ]; disabledTestPaths = [ "tests-cuda" ]; pythonImportsCheck = [ "awkward" ]; meta = with lib; { description = "Manipulate JSON-like data with NumPy-like idioms"; homepage = "https://github.com/scikit-hep/awkward"; license = licenses.bsd3; maintainers = with maintainers; [ veprbl ]; }; }