Merge pull request #106905 from stephank/imagick-7

phpExtensions.imagick: upgrade to ImageMagick 7
This commit is contained in:
Elis Hirwing 2020-12-22 23:25:35 +01:00 committed by GitHub
commit aa9bc1fdf9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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