python312Packages.mpi4py: convert dependency mpi to python module

This commit is contained in:
qbisi
2025-04-20 01:14:40 +08:00
parent 8d74a87fa1
commit 3f2710502e
@@ -5,6 +5,7 @@
cython,
setuptools,
mpi,
toPythonModule,
pytestCheckHook,
mpiCheckPhaseHook,
}:
@@ -31,7 +32,9 @@ buildPythonPackage rec {
];
dependencies = [
mpi
# Use toPythonModule so that also the mpi executables will be propagated to
# generated Python environment.
(toPythonModule mpi)
];
pythonImportsCheck = [ "mpi4py" ];