2021-06-28 23:13:55 +00:00
|
|
|
{ buildPecl, lib, imagemagick, pkg-config, pcre2 }:
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
buildPecl {
|
|
|
|
pname = "imagick";
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "3.5.0";
|
|
|
|
sha256 = "0afjyll6rr79am6d1p041bl4dj44hp9z4gzmlhrkvkdsdz1vfpbr";
|
2020-12-03 08:41:04 +00:00
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
configureFlags = [ "--with-imagick=${imagemagick.dev}" ];
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2021-06-06 07:54:09 +00:00
|
|
|
buildInputs = [ pcre2 ];
|
2020-10-16 20:44:37 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Imagick is a native php extension to create and modify images using the ImageMagick API";
|
|
|
|
license = licenses.php301;
|
|
|
|
homepage = "https://pecl.php.net/package/imagick";
|
|
|
|
maintainers = teams.php.members;
|
|
|
|
};
|
2020-10-16 20:44:37 +00:00
|
|
|
}
|