From 4f950bd19fa7bdf53ad2aae084a5fd43bf513c3a Mon Sep 17 00:00:00 2001 From: Kerstin Humm Date: Fri, 6 Mar 2026 15:00:03 +0100 Subject: [PATCH] python3Packages.tesserocr: replace patch with commit that was merged upstream --- pkgs/development/python-modules/tesserocr/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/tesserocr/default.nix b/pkgs/development/python-modules/tesserocr/default.nix index 8166f0b86626..0d3cd209f038 100644 --- a/pkgs/development/python-modules/tesserocr/default.nix +++ b/pkgs/development/python-modules/tesserocr/default.nix @@ -31,12 +31,9 @@ buildPythonPackage rec { }; patches = [ - # Fix a broken test. The issue has been reported upstream at - # https://github.com/sirfz/tesserocr/issues/363 - # Check the status of the issue before removing this patch at the next - # update. + # Backport https://github.com/sirfz/tesserocr/pull/364 to fix tests (fetchpatch { - url = "https://github.com/sirfz/tesserocr/commit/78d9e8187bd4d282d572bd5221db2c69e560e017.patch"; + url = "https://github.com/sirfz/tesserocr/commit/853a885d0154a0345e1ea7db80febe04893a3da8.patch"; hash = "sha256-s51s9EIV9AZT6UoqwTuQ8lOjToqwIIUkDLjsvCsyYFU="; }) ];