555cd8a8f9
GitOrigin-RevId: 5633bcff0c6162b9e4b5f1264264611e950c8ec7
42 lines
756 B
Nix
42 lines
756 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
cmake,
|
|
ninja,
|
|
pybind11,
|
|
scikit-build-core,
|
|
numpy,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "awkward-cpp";
|
|
version = "39";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "awkward_cpp";
|
|
inherit version;
|
|
hash = "sha256-YdoAEZnqIJRITijKB0WR0uxmDxF+mperieYNpAUnI4U=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|