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-09-19 14:19:46 +00:00
|
|
|
version = "38";
|
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;
|
|
|
|
hash = "sha256-l0SVah14fD0hXqE8WqG2EQnIk/Ad0e/i2mj1jt6K0Vs=";
|
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-02-07 01:22:34 +00:00
|
|
|
changelog = "https://github.com/scikit-hep/awkward/releases/tag/v${version}";
|
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
|
|
|
};
|
|
|
|
}
|