nixpkgs/pkgs/development/php-packages/imagick/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
572 B
Nix
Raw Normal View History

{
buildPecl,
lib,
imagemagick,
pkg-config,
pcre2,
}:
buildPecl {
pname = "imagick";
version = "3.7.0";
sha256 = "sha256-WjZDVBCQKdIkvLsuguFbJIvptkEif0XmNCXAZTF5LT4=";
2020-12-01 09:39:38 +00:00
configureFlags = [ "--with-imagick=${imagemagick.dev}" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ pcre2 ];
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;
};
}