2021-06-25 11:00:27 +00:00
|
|
|
{ buildPecl, lib, imagemagick, pkg-config, pcre2 }:
|
2020-10-11 16:00:01 +00:00
|
|
|
|
|
|
|
buildPecl {
|
|
|
|
pname = "imagick";
|
|
|
|
|
2022-02-13 02:08:13 +00:00
|
|
|
version = "3.7.0";
|
|
|
|
sha256 = "sha256-WjZDVBCQKdIkvLsuguFbJIvptkEif0XmNCXAZTF5LT4=";
|
2020-12-01 09:39:38 +00:00
|
|
|
|
2021-02-27 17:36:56 +00:00
|
|
|
configureFlags = [ "--with-imagick=${imagemagick.dev}" ];
|
2021-02-27 10:29:20 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2021-06-03 13:06:06 +00:00
|
|
|
buildInputs = [ pcre2 ];
|
2020-10-11 16:00:01 +00:00
|
|
|
|
2021-06-08 09:50:05 +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-11 16:00:01 +00:00
|
|
|
}
|