python310Packages.pypdf2: add pythonImportsCheck
This commit is contained in:
parent
56b5923677
commit
1663dfa1de
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user