python312Packages.python-nvd3: migrate from setup.py test

This commit is contained in:
Pyrox
2024-08-02 23:16:57 -04:00
parent ba575e32ec
commit 537b11289a
@@ -5,7 +5,7 @@
python-slugify,
jinja2,
setuptools,
coverage,
pytestCheckHook,
}:
buildPythonPackage rec {
@@ -25,11 +25,10 @@ buildPythonPackage rec {
jinja2
setuptools
];
nativeCheckInputs = [ coverage ];
checkPhase = ''
coverage run --source=nvd3 setup.py test
'';
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "tests.py" ];
meta = with lib; {
homepage = "https://github.com/areski/python-nvd3";