python311Packages.typesentry: migrate to pytestCheckHook

This commit is contained in:
Peder Bergebakken Sundt
2024-08-09 16:05:26 +02:00
parent 277b1dbd2e
commit 6a8dc6feb5
@@ -3,8 +3,7 @@
buildPythonPackage,
fetchFromGitHub,
colorama,
pytest,
pytest-cov,
pytestCheckHook,
}:
buildPythonPackage {
@@ -21,13 +20,7 @@ buildPythonPackage {
};
propagatedBuildInputs = [ colorama ];
nativeCheckInputs = [
pytest
pytest-cov
];
checkPhase = ''
pytest
'';
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Python 2.7 & 3.5+ runtime type-checker";