python310Packages.pypdf2: add pythonImportsCheck

This commit is contained in:
Mario Rodas 2022-09-18 10:49:00 +00:00
parent 56b5923677
commit 1663dfa1de

View File

@ -5,7 +5,6 @@
, glibcLocales
, typing-extensions
, unittestCheckHook
, isPy3k
}:
buildPythonPackage rec {
@ -24,11 +23,12 @@ buildPythonPackage rec {
typing-extensions
];
# Tests broken on Python 3.x
#doCheck = !(isPy3k);
checkInputs = [ unittestCheckHook ];
pythonImportsCheck = [
"PyPDF2"
];
meta = with lib; {
description = "A Pure-Python library built as a PDF toolkit";
homepage = "https://github.com/py-pdf/PyPDF2";