Merge pull request #106905 from stephank/imagick-7
phpExtensions.imagick: upgrade to ImageMagick 7
This commit is contained in:
commit
aa9bc1fdf9
1 changed files with 6 additions and 1 deletions
|
@ -12,9 +12,14 @@ buildPecl {
|
|||
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=${pkgs.imagemagick.dev}" ];
|
||||
configureFlags = [ "--with-imagick=${pkgs.imagemagick7.dev}" ];
|
||||
nativeBuildInputs = [ pkgs.pkgconfig ];
|
||||
buildInputs = [ pcre' ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue