2020-12-01 09:39:38 +00:00
|
|
|
{ buildPecl, fetchpatch, lib, pkgs, pcre' }:
|
2020-10-11 17:00:01 +01:00
|
|
|
|
|
|
|
buildPecl {
|
|
|
|
pname = "imagick";
|
|
|
|
|
|
|
|
version = "3.4.4";
|
|
|
|
sha256 = "0xvhaqny1v796ywx83w7jyjyd0nrxkxf34w9zi8qc8aw8qbammcd";
|
|
|
|
|
2020-12-01 09:39:38 +00:00
|
|
|
patches = [
|
|
|
|
# Fix compatibility with PHP 8.
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/Imagick/imagick/pull/336.patch";
|
|
|
|
sha256 = "nuRdh02qaMx0s/5OzlfWjyYgZG1zgrYnAjsZ/UVIrUM=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2020-10-11 17:00:01 +01:00
|
|
|
configureFlags = [ "--with-imagick=${pkgs.imagemagick.dev}" ];
|
|
|
|
nativeBuildInputs = [ pkgs.pkgconfig ];
|
|
|
|
buildInputs = [ pcre' ];
|
|
|
|
|
|
|
|
meta.maintainers = lib.teams.php.members;
|
|
|
|
}
|