summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Fuchs <asf@materialize.com>2021-09-17 11:33:16 -0400
committerAndreas Fuchs <asf@materialize.com>2021-09-17 14:56:50 -0400
commit70ac11ca8a2c036a7e0284e8a76a8297f837bfc2 (patch)
treed53bcd7c5d740cf8b2dedb2c1aa22243617958cb
parentf023c4710137586b1b443b0100c8d8bce74f5437 (diff)
downloadnixpkgs-70ac11ca8a2c036a7e0284e8a76a8297f837bfc2.tar
nixpkgs-70ac11ca8a2c036a7e0284e8a76a8297f837bfc2.tar.gz
nixpkgs-70ac11ca8a2c036a7e0284e8a76a8297f837bfc2.tar.bz2
nixpkgs-70ac11ca8a2c036a7e0284e8a76a8297f837bfc2.tar.lz
nixpkgs-70ac11ca8a2c036a7e0284e8a76a8297f837bfc2.tar.xz
nixpkgs-70ac11ca8a2c036a7e0284e8a76a8297f837bfc2.tar.zst
nixpkgs-70ac11ca8a2c036a7e0284e8a76a8297f837bfc2.zip
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.
-rw-r--r--pkgs/tools/text/ocrmypdf/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/tools/text/ocrmypdf/default.nix b/pkgs/tools/text/ocrmypdf/default.nix
index 0dff6d76fff..4292c275a7f 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";
   };
 }