2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
cmake,
|
|
|
|
ninja,
|
|
|
|
pybind11,
|
|
|
|
scikit-build-core,
|
|
|
|
numpy,
|
2022-12-17 10:02:37 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "awkward-cpp";
|
2024-10-09 16:51:18 +00:00
|
|
|
version = "39";
|
2023-11-16 04:20:00 +00:00
|
|
|
pyproject = true;
|
2022-12-17 10:02:37 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-09-19 14:19:46 +00:00
|
|
|
pname = "awkward_cpp";
|
|
|
|
inherit version;
|
2024-10-09 16:51:18 +00:00
|
|
|
hash = "sha256-YdoAEZnqIJRITijKB0WR0uxmDxF+mperieYNpAUnI4U=";
|
2022-12-17 10:02:37 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
build-system = [
|
2022-12-17 10:02:37 +00:00
|
|
|
cmake
|
2023-10-09 19:29:22 +00:00
|
|
|
ninja
|
2022-12-17 10:02:37 +00:00
|
|
|
pybind11
|
|
|
|
scikit-build-core
|
2024-09-19 14:19:46 +00:00
|
|
|
];
|
2022-12-17 10:02:37 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
dependencies = [ numpy ];
|
2022-12-17 10:02:37 +00:00
|
|
|
|
|
|
|
dontUseCmakeConfigure = true;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "awkward_cpp" ];
|
2022-12-17 10:02:37 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
meta = {
|
2022-12-17 10:02:37 +00:00
|
|
|
description = "CPU kernels and compiled extensions for Awkward Array";
|
|
|
|
homepage = "https://github.com/scikit-hep/awkward";
|
2024-06-05 15:53:02 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ veprbl ];
|
2022-12-17 10:02:37 +00:00
|
|
|
};
|
|
|
|
}
|