pkgs/top-level/perl-packages.nix: added PerlMagick, a perl API to ImageMagick

Unfortunately, the test suite had to be disabled because it assumes that
ImageMagick has been built with any and all extensions, i.e. WMF support
and whatnot else, and if it isn't, then the suite reports that as a
failure.

svn path=/nixpkgs/trunk/; revision=21455
This commit is contained in:
Peter Simons 2010-04-30 10:49:39 +00:00
parent 5139e564fa
commit ccf9a368b3

View File

@ -1372,6 +1372,20 @@ rec {
};
};
PerlMagick = buildPerlPackage {
name = "PerlMagick-6.59";
src = fetchurl {
url = mirror://cpan/authors/id/J/JC/JCRISTY/PerlMagick-6.59.tar.gz;
sha256 = "a87999b322460f7ba964eed81f91f400fba4ba6ff88e3f9e2b216d4d8ecf638d";
};
buildInputs = [pkgs.imagemagick];
preConfigure =
''
sed -i -e 's|my \$INC_magick = .*|my $INC_magick = "-I${pkgs.imagemagick}/include/ImageMagick";|' Makefile.PL
'';
doCheck = false;
};
IOCompressBase = buildPerlPackage rec {
name = "IO-Compress-Base-2.015";
src = fetchurl {