openbabel: enable tests

This commit is contained in:
Emily
2025-09-18 02:26:21 +01:00
parent 36c66d6310
commit bcb952004e
+14
View File
@@ -16,6 +16,7 @@
boost,
maeparser,
coordgenlibs,
ctestCheckHook,
}:
stdenv.mkDerivation {
@@ -54,12 +55,25 @@ stdenv.mkDerivation {
coordgenlibs
];
nativeCheckInputs = [
ctestCheckHook
];
cmakeFlags = [
(lib.cmakeBool "RUN_SWIG" true)
(lib.cmakeBool "PYTHON_BINDINGS" true)
(lib.cmakeFeature "PYTHON_INSTDIR" "${placeholder "out"}/${python3.sitePackages}")
];
disabledTests = [
"test_cifspacegroup_11"
"pybindtest_obconv_writers"
];
doCheck = true;
dontUseNinjaCheck = true;
meta = {
description = "Toolbox designed to speak the many languages of chemical data";
homepage = "http://openbabel.org";