python312Packages.f90nml: Migrate away from setup.py test

This commit is contained in:
Pyrox
2024-08-04 17:36:23 +02:00
committed by gador
parent 2425191e03
commit e8f4ea1365
@@ -4,6 +4,7 @@
fetchFromGitHub,
python,
setuptools-scm,
unittestCheckHook,
}:
buildPythonPackage rec {
@@ -20,9 +21,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools-scm ];
checkPhase = ''
${python.interpreter} setup.py test
'';
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "f90nml" ];