pdfium-binaries: add python3Packages.pypdfium2 to passthru.tests

This is to make sure pypdfium2 build is not broken on version update.

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
This commit is contained in:
Ihar Hrachyshka
2025-01-31 16:57:25 -05:00
parent c04e1db9dc
commit 138706cd3a
+7 -1
View File
@@ -2,6 +2,7 @@
lib,
fetchzip,
stdenv,
python3Packages,
}:
let
version = "6968";
@@ -41,7 +42,12 @@ stdenv.mkDerivation {
runHook postInstall
'';
passthru.updateScript = ./update.sh;
passthru = {
updateScript = ./update.sh;
tests = {
inherit (python3Packages) pypdfium2;
};
};
meta = {
description = "Binary distribution of PDFium";