1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 cmake,
6 ninja,
7 pybind11,
8 scikit-build-core,
9 numpy,
10}:
11
12buildPythonPackage rec {
13 pname = "awkward-cpp";
14 version = "47";
15 pyproject = true;
16
17 src = fetchPypi {
18 pname = "awkward_cpp";
19 inherit version;
20 hash = "sha256-Z2z0l2gQ7asyGH7fWopxavlQR7kDjJbSfTvkTxMxlQ8=";
21 };
22
23 build-system = [
24 cmake
25 ninja
26 pybind11
27 scikit-build-core
28 ];
29
30 dependencies = [ numpy ];
31
32 dontUseCmakeConfigure = true;
33
34 pythonImportsCheck = [ "awkward_cpp" ];
35
36 meta = {
37 description = "CPU kernels and compiled extensions for Awkward Array";
38 homepage = "https://github.com/scikit-hep/awkward";
39 license = lib.licenses.bsd3;
40 maintainers = with lib.maintainers; [ veprbl ];
41 };
42}