mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
phpPackages.imagick: 3.4.0RC4 -> 3.4.3RC1
Drops imagick31 as the current version also supports PHP 5.x.
This commit is contained in:
parent
241cd0e5db
commit
957a5bdcf3
@ -23,20 +23,11 @@ let
|
||||
sha256 = "0r5pfbjbmdj46h20jm3iqmy969qd27ajyf0phjhgykv6j0cqjlgd";
|
||||
};
|
||||
|
||||
imagick = if isPhp7 then imagick34 else imagick31;
|
||||
|
||||
imagick31 = assert !isPhp7; buildPecl {
|
||||
name = "imagick-3.1.2";
|
||||
sha256 = "14vclf2pqcgf3w8nzqbdw0b9v30q898344c84jdbw2sa62n6k1sj";
|
||||
imagick = buildPecl {
|
||||
name = "imagick-3.4.3RC1";
|
||||
sha256 = "0siyxpszjz6s095s2g2854bhprjq49rf22v6syjiwvndg1pc9fsh";
|
||||
configureFlags = "--with-imagick=${pkgs.imagemagick.dev}";
|
||||
buildInputs = [ pkgs.pkgconfig ];
|
||||
};
|
||||
|
||||
imagick34 = buildPecl {
|
||||
name = "imagick-3.4.0RC4";
|
||||
sha256 = "0fdkzdv3r8sm6y1x11kp3rxsimq6zf15xvi0mhn57svmnan4zh0i";
|
||||
configureFlags = "--with-imagick=${pkgs.imagemagick.dev}";
|
||||
buildInputs = [ pkgs.pkgconfig ];
|
||||
nativeBuildInputs = [ pkgs.pkgconfig ];
|
||||
};
|
||||
|
||||
# No support for PHP 7 yet
|
||||
|
Loading…
Reference in New Issue
Block a user