php8*Extensions.imagick: 3.7.0 -> 3.8.0

ChangeLog: https://pecl.php.net/package-changelog.php?package=imagick&release=3.8.0
This commit is contained in:
Maximilian Bosch
2025-09-04 07:39:07 +02:00
parent e2c77b8391
commit 9ee2ccadd7
@@ -11,23 +11,13 @@
buildPecl {
pname = "imagick";
version = "3.7.0";
sha256 = "sha256-WjZDVBCQKdIkvLsuguFbJIvptkEif0XmNCXAZTF5LT4=";
version = "3.8.0";
sha256 = "sha256-vaZ0YchU8g1hBXgrdpxST8NziLddRIHZUWRNIWf/7sY=";
configureFlags = [ "--with-imagick=${imagemagick.dev}" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ pcre2 ];
patches = lib.optionals (lib.versionAtLeast php.version "8.4") [
# PHP 8.4 compatibility patch based on https://github.com/Imagick/imagick/pull/690
# These is also an alternative https://github.com/Imagick/imagick/pull/704
# Which includes more changes but doesn't apply cleanly.
(fetchpatch {
url = "https://github.com/Imagick/imagick/commit/65e27f2bc02e7e8f1bf64e26e359e42a1331fca1.patch";
hash = "sha256-I0FwdqtQ/Y/QVkCl+nWPBIxsdQY6qcjdwiA/BaLNl7g=";
})
];
meta = with lib; {
description = "Imagick is a native php extension to create and modify images using the ImageMagick API";
license = licenses.php301;