567e8dfd8e
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>
28 lines
581 B
Nix
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 ];
|
|
};
|
|
}
|