python3Packages.swcgeom: enable tests

This commit is contained in:
Zexin Yuan
2025-06-17 22:21:27 +08:00
parent b5ef7ef4d3
commit a66b2467a3
@@ -22,7 +22,7 @@
lmdb,
requests,
urllib3,
pytest,
pytestCheckHook,
}:
let
@@ -72,14 +72,19 @@ buildPythonPackage {
];
};
nativeCheckInputs = [
pytest
];
pythonImportsCheck = [
"swcgeom"
];
nativeCheckInputs = [
pytestCheckHook
];
preCheck = ''
# make sure import the built version, not the source one
rm -r swcgeom
'';
meta = {
description = "Neuron geometry library for swc format";
homepage = "https://github.com/yzx9/swcgeom";