php.extensions.imagick: 3.4.4 -> 3.5.0
This commit is contained in:
parent
c1e65385bd
commit
cb50ba70d7
|
@ -1,23 +1,10 @@
|
||||||
{ buildPecl, fetchpatch, lib, imagemagick, pkg-config, pcre2 }:
|
{ buildPecl, lib, imagemagick, pkg-config, pcre2 }:
|
||||||
|
|
||||||
buildPecl {
|
buildPecl {
|
||||||
pname = "imagick";
|
pname = "imagick";
|
||||||
|
|
||||||
version = "3.4.4";
|
version = "3.5.0";
|
||||||
sha256 = "0xvhaqny1v796ywx83w7jyjyd0nrxkxf34w9zi8qc8aw8qbammcd";
|
sha256 = "0afjyll6rr79am6d1p041bl4dj44hp9z4gzmlhrkvkdsdz1vfpbr";
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Fix compatibility with PHP 8.
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/Imagick/imagick/pull/336.patch";
|
|
||||||
sha256 = "nuRdh02qaMx0s/5OzlfWjyYgZG1zgrYnAjsZ/UVIrUM=";
|
|
||||||
})
|
|
||||||
# Fix detection of ImageMagick 7.
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/Imagick/imagick/commit/09551fbf38c16cdaf4ade7c08744501cd82d2747.patch";
|
|
||||||
sha256 = "qUeQHP08kKOzuQdEpR8RSZ18Yhi0U9z24KwQcAx1UVg=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
configureFlags = [ "--with-imagick=${imagemagick.dev}" ];
|
configureFlags = [ "--with-imagick=${imagemagick.dev}" ];
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
Loading…
Reference in a new issue