From 3aed333cdeb7d7684f00eb78e175aa0a9ea10049 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 18 Nov 2024 14:06:38 -0800 Subject: [PATCH 1/2] imagemagick: 7.1.1-40 -> 7.1.1-43 Diff: https://github.com/ImageMagick/ImageMagick/compare/7.1.1-40...7.1.1-43 Changelog: https://github.com/ImageMagick/Website/blob/main/ChangeLog.md --- pkgs/applications/graphics/ImageMagick/default.nix | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/graphics/ImageMagick/default.nix b/pkgs/applications/graphics/ImageMagick/default.nix index 294666f19201..1d83dde7f3db 100644 --- a/pkgs/applications/graphics/ImageMagick/default.nix +++ b/pkgs/applications/graphics/ImageMagick/default.nix @@ -1,7 +1,6 @@ { lib , stdenv , fetchFromGitHub -, fetchpatch2 , pkg-config , libtool , bzip2Support ? true, bzip2 @@ -51,22 +50,15 @@ in stdenv.mkDerivation (finalAttrs: { pname = "imagemagick"; - version = "7.1.1-40"; + version = "7.1.1-43"; src = fetchFromGitHub { owner = "ImageMagick"; repo = "ImageMagick"; rev = finalAttrs.version; - hash = "sha256-NrTIx1OvwPIeVlA39hGkXZ2Atk4FCsU3/55SZeSc40E="; + hash = "sha256-4JzCBKtXiKGLsZ29+7z5U+3aN3ppusQ7mz+sOZYpXGY="; }; - patches = [ - (fetchpatch2 { - url = "https://github.com/ImageMagick/ImageMagick/commit/bf5650f0dd41b500102a129d6867cb568f4edee4.patch"; - hash = "sha256-nxvSTyNZ35DqjR41nM5uidWwRFWzd1e/LFE0n3fpbb8="; - }) - ]; - outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big outputMan = "out"; # it's tiny From f5cfa33be109821765638c9e38c37ed542c1993f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 3 Jan 2025 10:33:00 -0800 Subject: [PATCH 2/2] python312Packages.img2pdf: skip failing tests --- .../python-modules/img2pdf/default.nix | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/pkgs/development/python-modules/img2pdf/default.nix b/pkgs/development/python-modules/img2pdf/default.nix index 62efb51697af..4e49d01ad8b6 100644 --- a/pkgs/development/python-modules/img2pdf/default.nix +++ b/pkgs/development/python-modules/img2pdf/default.nix @@ -88,6 +88,28 @@ buildPythonPackage rec { disabledTests = [ # https://gitlab.mister-muffin.de/josch/img2pdf/issues/178 "test_miff_cmyk16" + # https://gitlab.mister-muffin.de/josch/img2pdf/issues/205 + "test_miff_cmyk8" + "test_miff_rgb8" + "test_tiff_ccitt_lsb_m2l_white" + "test_tiff_ccitt_msb_l2m_white" + "test_tiff_ccitt_msb_m2l_white" + "test_tiff_ccitt_nometa1" + "test_tiff_ccitt_nometa2" + "test_tiff_cmyk8" + "test_tiff_cmyk16" + "test_tiff_float" + "test_tiff_gray1" + "test_tiff_gray2" + "test_tiff_gray4" + "test_tiff_gray8" + "test_tiff_gray16" + "test_tiff_multipage" + "test_tiff_palette8" + "test_tiff_rgb8" + "test_tiff_rgb12" + "test_tiff_rgb14" + "test_tiff_rgb16" ]; pythonImportsCheck = [ "img2pdf" ];