about summary refs log tree commit diff
path: root/pkgs/development/php-packages/imagick/default.nix
blob: d8570ee24ba8e4092ec2e242f5ef1fc168c5871c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
  buildPecl,
  lib,
  imagemagick,
  pkg-config,
  pcre2,
}:

buildPecl {
  pname = "imagick";

  version = "3.7.0";
  sha256 = "sha256-WjZDVBCQKdIkvLsuguFbJIvptkEif0XmNCXAZTF5LT4=";

  configureFlags = [ "--with-imagick=${imagemagick.dev}" ];
  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ pcre2 ];

  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;
  };
}