pkgs/applications/misc/ikiwiki: added build input PerlMagick

Without ImageMagick support, Ikiwiki cannot handle images.

svn path=/nixpkgs/trunk/; revision=21456
This commit is contained in:
Peter Simons 2010-04-30 10:49:43 +00:00
parent ccf9a368b3
commit 06f51c6e05
2 changed files with 3 additions and 6 deletions

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, perl, gettext, makeWrapper, lib,
{ stdenv, fetchurl, perl, gettext, makeWrapper, lib, PerlMagick,
TextMarkdown, URI, HTMLParser, HTMLScrubber, HTMLTemplate, TimeDate,
CGISession, CGIFormBuilder, DBFile, LocaleGettext, RpcXML, XMLSimple
, git ? null
@ -20,10 +20,7 @@ stdenv.mkDerivation {
buildInputs = [ perl TextMarkdown URI HTMLParser HTMLScrubber HTMLTemplate
TimeDate gettext makeWrapper DBFile CGISession CGIFormBuilder LocaleGettext
RpcXML XMLSimple ]
++
(lib.optional (monotone != null) monotone)
;
RpcXML XMLSimple PerlMagick git monotone];
patchPhase = ''
sed -i s@/usr/bin/perl@${perl}/bin/perl@ pm_filter mdwn2man

View File

@ -7670,7 +7670,7 @@ let
inherit fetchurl stdenv perl gettext makeWrapper lib;
inherit (perlPackages) TextMarkdown URI HTMLParser HTMLScrubber
HTMLTemplate TimeDate CGISession DBFile CGIFormBuilder LocaleGettext
RpcXML XMLSimple;
RpcXML XMLSimple PerlMagick;
git = if getPkgConfig "ikiwiki" "git" true then git else null;
monotone = if getPkgConfig "ikiwiki" "monotone" false then monotone else null;
extraUtils = [];