mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 00:20:58 +00:00
dkimpy: use pytestCheckHook
This commit is contained in:
committed by
Yohann Boniface
parent
3c1cdb2419
commit
f8dbf24ce1
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user