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

20 lines
562 B
Nix
Raw Normal View History

2021-06-25 13:00:27 +02:00
{ buildPecl, lib, imagemagick, pkg-config, pcre2 }:
buildPecl {
pname = "imagick";
2021-06-25 13:00:27 +02:00
version = "3.5.0";
sha256 = "0afjyll6rr79am6d1p041bl4dj44hp9z4gzmlhrkvkdsdz1vfpbr";
2020-12-01 10:39:38 +01:00
configureFlags = [ "--with-imagick=${imagemagick.dev}" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ pcre2 ];
2021-06-08 11:50:05 +02: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;
};
}