python3Packages.swcgeom: enable tests (#417555)

This commit is contained in:
Nick Cao
2025-06-18 16:17:22 -04:00
committed by GitHub
@@ -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";