python3Packages.pymatgen: add moyopy dependency

This commit is contained in:
Gaetan Lepage
2025-09-03 16:03:22 +02:00
parent 7be2f4cdc6
commit 674cae8f5e
@@ -46,6 +46,7 @@
# tests
addBinToPathHook,
moyopy,
pytest-xdist,
pytestCheckHook,
}:
@@ -122,6 +123,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
addBinToPathHook
moyopy
pytestCheckHook
pytest-xdist
]
@@ -169,11 +171,7 @@ buildPythonPackage rec {
"test_timer"
];
disabledTestPaths = [
# We have not packaged moyopy yet.
"tests/analysis/test_prototypes.py::test_get_protostructure_label_from_moyopy"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
# Crash when running the pmg command
# Critical error: required built-in appearance SystemAppearance not found
"tests/cli/test_pmg_plot.py"