mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
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:
parent
5139e564fa
commit
ccf9a368b3
1 changed files with 14 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue