Files
nixpkgs/pkgs/development/php-packages/imagick/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

28 lines
581 B
Nix

{
buildPecl,
fetchpatch,
lib,
imagemagick,
pkg-config,
pcre2,
php,
}:
buildPecl {
pname = "imagick";
version = "3.8.0";
sha256 = "sha256-vaZ0YchU8g1hBXgrdpxST8NziLddRIHZUWRNIWf/7sY=";
configureFlags = [ "--with-imagick=${imagemagick.dev}" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ pcre2 ];
meta = {
description = "Imagick is a native php extension to create and modify images using the ImageMagick API";
license = lib.licenses.php301;
homepage = "https://pecl.php.net/package/imagick";
teams = [ lib.teams.php ];
};
}