python3Package.pyvcd: migrate to pytestCheckHook

This commit is contained in:
Martin Weinelt 2021-10-10 20:05:08 +02:00
parent 44ff862bbd
commit ea2360d3a6

View File

@ -4,7 +4,7 @@
, pythonOlder
, setuptools-scm
, six
, pytest
, pytestCheckHook
}:
buildPythonPackage rec {
@ -18,19 +18,16 @@ buildPythonPackage rec {
};
buildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ six ];
checkPhase = ''
py.test
'';
checkInputs = [ pytest ];
checkInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Python package for writing Value Change Dump (VCD) files";
homepage = "https://github.com/SanDisk-Open-Source/pyvcd";
changelog = "https://github.com/SanDisk-Open-Source/pyvcd/blob/${version}/CHANGELOG.rst";
license = licenses.mit;
maintainers = [ maintainers.sb0 maintainers.emily ];
maintainers = with maintainers; [ sb0 emily ];
};
}