mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
python312Packages.f90nml: Migrate away from setup.py test
This commit is contained in:
parent
ba575e32ec
commit
fd8384af70
@ -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" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user