phpPackages.imagick: 3.4.0RC4 -> 3.4.3RC1

Drops imagick31 as the current version also supports PHP 5.x.
This commit is contained in:
Franz Pletz 2016-10-13 22:27:52 +02:00 committed by Graham Christensen
parent 241cd0e5db
commit 957a5bdcf3
No known key found for this signature in database
GPG Key ID: FE918C3A98C1030F

View File

@ -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