python3Packages.swcgeom: enable tests (#417555)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user