gcsan2pdf: update and pin tesseract version (#358158)

This commit is contained in:
Austin Horstman 2024-11-26 22:51:10 -06:00 committed by GitHub
commit 92c2525fbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,15 +4,15 @@
# runtime dependencies
imagemagick, libtiff, djvulibre, poppler_utils, ghostscript, unpaper, pdftk,
# test dependencies
xvfb-run, liberation_ttf, file, tesseract }:
xvfb-run, liberation_ttf, file, tesseract3 }:
perlPackages.buildPerlPackage rec {
pname = "gscan2pdf";
version = "2.13.3";
version = "2.13.4";
src = fetchurl {
url = "mirror://sourceforge/gscan2pdf/gscan2pdf-${version}.tar.xz";
hash = "sha256-QAs6fsQDe9+nKM/OAVZUHB034K72jHsKoA2LY2JQa8Y=";
hash = "sha256-4HcTkVJBscBb8AxeN6orMQFVR0w4hFfkGhxQOzP3mWk=";
};
patches = [
@ -99,7 +99,7 @@ perlPackages.buildPerlPackage rec {
xvfb-run
file
tesseract # tests are expecting tesseract 3.x precisely
tesseract3 # tests are expecting tesseract 3.x precisely
] ++ (with perlPackages; [
TestPod
]);