dkimpy: use pytestCheckHook

This commit is contained in:
Sigmanificient
2026-05-21 23:56:22 +02:00
committed by Yohann Boniface
parent 3c1cdb2419
commit f8dbf24ce1

View File

@@ -4,11 +4,10 @@
openssl,
buildPythonPackage,
setuptools,
pytest,
pytestCheckHook,
dnspython,
pynacl,
authres,
python,
}:
buildPythonPackage rec {
@@ -21,8 +20,6 @@ buildPythonPackage rec {
hash = "sha256-tfYPtHu/XY12LxNLzqDDiOumtJg0KmgqIfFoZUUJS3c=";
};
nativeCheckInputs = [ pytest ];
build-system = [ setuptools ];
dependencies = [
@@ -37,9 +34,7 @@ buildPythonPackage rec {
/usr/bin/openssl ${openssl}/bin/openssl
'';
checkPhase = ''
${python.interpreter} ./test.py
'';
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "DKIM + ARC email signing/verification tools + Python module";