treewide: migrate to pythonPackages.unittestCheckHook

This commit is contained in:
Winter
2022-08-13 14:09:43 -04:00
parent e8fbb38a51
commit 19adc3341c
82 changed files with 278 additions and 417 deletions
@@ -4,7 +4,7 @@
, fetchPypi
, importlib-metadata
, pyyaml
, python
, unittestCheckHook
}:
buildPythonPackage rec {
@@ -25,11 +25,7 @@ buildPythonPackage rec {
importlib-metadata
];
checkInputs = [ pyyaml ];
checkPhase = ''
${python.interpreter} -m unittest discover
'';
checkInputs = [ unittestCheckHook pyyaml ];
pythonImportsCheck = [ "markdown" ];