Files
nixpkgs/pkgs/development/python-modules/awkward-cpp/default.nix
T
Dmitry Kalinkin c9c1132a54 python3Packages.awkward: 2.2.1 -> 2.2.2
python3Packages.awkward-cpp: 15 -> 16
2023-06-11 19:19:13 -04:00

47 lines
859 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, cmake
, numpy
, pybind11
, scikit-build-core
, typing-extensions
}:
buildPythonPackage rec {
pname = "awkward-cpp";
version = "16";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-yE1dWFaw4kL6g38NtggIfZWJVheb1VN36jk/E5wbm4Y=";
};
nativeBuildInputs = [
cmake
pybind11
scikit-build-core
] ++ scikit-build-core.optional-dependencies.pyproject;
propagatedBuildInputs = [
numpy
];
dontUseCmakeConfigure = true;
pythonImportsCheck = [
"awkward_cpp"
];
meta = with lib; {
description = "CPU kernels and compiled extensions for Awkward Array";
homepage = "https://github.com/scikit-hep/awkward";
license = licenses.bsd3;
maintainers = with maintainers; [ veprbl ];
};
}