python312Packages.pykdtree: relax build-system numpy; unbreak

This commit is contained in:
annalee 2024-05-11 04:46:44 +00:00
parent 8c810f6f55
commit d66b7cfb8b
No known key found for this signature in database

View File

@ -24,6 +24,11 @@ buildPythonPackage rec {
hash = "sha256-zCCypnxkBWSFoxTSwrbbo1SvfuHI+42uG+byk2o3Q0E=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-warn "numpy>=2.0.0rc1,<3" "numpy"
'';
nativeBuildInputs = [
cython
numpy