From 2a299827f83f25bbcbee324f2f560e98d541a5c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 6 Apr 2025 21:02:38 -0700 Subject: [PATCH] python313Packages.img2pdf: fix test with exiftool 13.25 --- pkgs/development/python-modules/img2pdf/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/img2pdf/default.nix b/pkgs/development/python-modules/img2pdf/default.nix index f2a30d00d3e8..b161d18f8956 100644 --- a/pkgs/development/python-modules/img2pdf/default.nix +++ b/pkgs/development/python-modules/img2pdf/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitea, + fetchpatch, replaceVars, colord, setuptools, @@ -34,6 +35,11 @@ buildPythonPackage rec { }; patches = [ + (fetchpatch { + name = "exiftool-13.23-compat.patch"; + url = "https://gitlab.mister-muffin.de/josch/img2pdf/commit/59132f20f8a40f6ed4e5cd2a3719bf55473ba4d7.patch"; + hash = "sha256-A36YSZ6kBFzEa2lSKIVHRg9r6Oi8FGkOnmt2YxlkwWw="; + }) (replaceVars ./default-icc-profile.patch { srgbProfile = if stdenv.hostPlatform.isDarwin then