python3Packages.bbox: fix build

Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
lucasew
2025-04-15 08:59:19 -03:00
parent ee36f6ca92
commit b9357a9d1c
@@ -29,6 +29,11 @@ buildPythonPackage rec {
nativeBuildInputs = [ poetry-core ];
postPatch = ''
substituteInPlace bbox/metrics.py \
--replace-warn round_ round
'';
propagatedBuildInputs = [
pyquaternion
numpy
@@ -46,6 +51,8 @@ buildPythonPackage rec {
"test_multi_jaccard_index_2d_performance"
];
pythonRelaxDeps = [ "numpy" ];
pythonImportsCheck = [ "bbox" ];
meta = with lib; {