python312Packages.f90nml: Migrate away from setup.py test

This commit is contained in:
Pyrox 2024-08-02 22:53:35 -04:00
parent ba575e32ec
commit fd8384af70
No known key found for this signature in database
GPG Key ID: 8CDF3F7CAA53A0F5

View File

@ -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" ];