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