python3Packages.argon2-cffi: use pytestCheckHook

This commit is contained in:
Ben Wolsieffer 2023-09-01 22:45:22 -04:00
parent 1068053205
commit adf495d55f

View file

@ -1,5 +1,5 @@
{ hypothesis
, pytest
, pytestCheckHook
, buildPythonPackage
, fetchPypi
, lib
@ -24,10 +24,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ argon2-cffi-bindings ];
nativeCheckInputs = [ hypothesis pytest ];
checkPhase = ''
pytest tests
'';
nativeCheckInputs = [ hypothesis pytestCheckHook ];
pythonImportsCheck = [ "argon2" ];