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
@@ -12,7 +12,7 @@
, typing-extensions
# tests
, python
, unittestCheckHook
}:
buildPythonPackage rec {
@@ -35,14 +35,14 @@ buildPythonPackage rec {
typing-extensions
];
checkInputs = [
unittestCheckHook
];
pythonImportsCheck = [
"aioitertools"
];
checkPhase = ''
${python.interpreter} -m unittest discover
'';
meta = with lib; {
description = "Implementation of itertools, builtins, and more for AsyncIO and mixed-type iterables";
license = licenses.mit;