python3Packages.demjson3: use pytestCheckHook

This commit is contained in:
Timo Gottszky
2026-06-10 15:27:05 +02:00
parent 45515764f3
commit 43ce110e69
@@ -2,7 +2,7 @@
lib,
buildPythonPackage,
fetchPypi,
python,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
@@ -17,9 +17,7 @@ buildPythonPackage (finalAttrs: {
hash = "sha256-N8g7DG6wjSXe/IjfCipIddWKeAmpZQvW7uev2AU826w=";
};
checkPhase = ''
${python.interpreter} test/test_demjson3.py
'';
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "demjson3" ];