phpExtensions.imagick: upgrade to ImageMagick 7

This commit is contained in:
Stéphan Kochen 2020-12-14 15:01:01 +01:00
parent 12f367b51c
commit cc2fee8ac1

View file

@ -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' ];