From f8dbf24ce1bdbd1e2f6013b1c8d7e3854db4efdb Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Thu, 21 May 2026 23:56:22 +0200 Subject: [PATCH] dkimpy: use pytestCheckHook --- pkgs/development/python-modules/dkimpy/default.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/dkimpy/default.nix b/pkgs/development/python-modules/dkimpy/default.nix index 754e5b2f73f9..ab41cee512bb 100644 --- a/pkgs/development/python-modules/dkimpy/default.nix +++ b/pkgs/development/python-modules/dkimpy/default.nix @@ -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";