{
lib,
buildPythonPackage,
fetchPypi,
cmake,
ninja,
pybind11,
scikit-build-core,
numpy,
}:
buildPythonPackage rec {
pname = "awkward-cpp";
version = "43";
pyproject = true;
src = fetchPypi {
pname = "awkward_cpp";
inherit version;
hash = "sha256-we11WW7IKvZm2ghLW/gF2bcsg1MtA10rZeB5WQXSXq0=";
};
build-system = [
cmake
ninja
pybind11
scikit-build-core
];
dependencies = [ numpy ];
dontUseCmakeConfigure = true;
pythonImportsCheck = [ "awkward_cpp" ];
meta = {
description = "CPU kernels and compiled extensions for Awkward Array";
homepage = "https://github.com/scikit-hep/awkward";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ veprbl ];
}