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