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";
|
|
|
|
|
2022-02-20 05:27:41 +00:00
|
|
|
version = "3.7.0";
|
|
|
|
sha256 = "sha256-WjZDVBCQKdIkvLsuguFbJIvptkEif0XmNCXAZTF5LT4=";
|
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
|
|
|
}
|