mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
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:
parent
ccf9a368b3
commit
06f51c6e05
@ -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
|
||||
|
@ -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 = [];
|
||||
|
Loading…
Reference in New Issue
Block a user