python311Packages.m2crypto: enable tests

- add pythonImportsCheck
This commit is contained in:
Fabian Affolter 2023-08-18 22:10:44 +02:00
parent 7585ef14b6
commit 39f8327e75

View File

@ -4,9 +4,9 @@
, fetchPypi
, openssl
, parameterized
, pytestCheckHook
, pythonOlder
, swig2
, typing
}:
buildPythonPackage rec {
@ -45,8 +45,23 @@ buildPythonPackage rec {
})
];
nativeBuildInputs = [ swig2 openssl ];
buildInputs = [ openssl parameterized ];
nativeBuildInputs = [
swig2
openssl
];
buildInputs = [
openssl
parameterized
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"M2Crypto"
];
meta = with lib; {
description = "A Python crypto and SSL toolkit";