From 70ac11ca8a2c036a7e0284e8a76a8297f837bfc2 Mon Sep 17 00:00:00 2001 From: Andreas Fuchs Date: Fri, 17 Sep 2021 11:33:16 -0400 Subject: [PATCH] ocrmypdf: 12.3.0 -> 12.5.0 Version 12.3.0 is not compatible with pluggy 1.0 (which now is in nixpkgs), so we have to upgrade to a version that supports it. --- pkgs/tools/text/ocrmypdf/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/text/ocrmypdf/default.nix b/pkgs/tools/text/ocrmypdf/default.nix index 0dff6d76fffe..4292c275a7f1 100644 --- a/pkgs/tools/text/ocrmypdf/default.nix +++ b/pkgs/tools/text/ocrmypdf/default.nix @@ -30,13 +30,13 @@ let in buildPythonApplication rec { pname = "ocrmypdf"; - version = "12.3.0"; + version = "12.5.0"; src = fetchFromGitHub { owner = "jbarlow83"; repo = "OCRmyPDF"; rev = "v${version}"; - sha256 = "122yv3p0v4fbx30zgppcznwnm7svg97gv0sa103xb6zcld68ggn2"; + sha256 = "sha256-g80WedX+TGHE9EJ/RSgOc53PM17V3WZslUNaHoqKTo0="; }; nativeBuildInputs = with python3Packages; [ @@ -47,9 +47,9 @@ buildPythonApplication rec { propagatedBuildInputs = with python3Packages; [ cffi - chardet coloredlogs img2pdf + importlib-resources pdfminer pluggy pikepdf @@ -84,6 +84,6 @@ buildPythonApplication rec { license = with licenses; [ mpl20 mit ]; platforms = platforms.linux; maintainers = [ maintainers.kiwi ]; - changelog = "https://github.com/jbarlow83/OCRmyPDF/blob/v${version}/docs/release_notes.rst"; + changelog = "https://github.com/jbarlow83/OCRmyPDF/blob/v${version}/docs/release_notes.rst"; }; }