groff: Add enableIconv and enableLibuchardet option
This commit is contained in:
parent
fab09085df
commit
c7fbd40fd1
@ -1,6 +1,8 @@
|
||||
{ lib, stdenv, fetchurl, fetchpatch, perl
|
||||
, enableGhostscript ? false, ghostscript # for postscript and html output
|
||||
, enableHtml ? false, psutils, netpbm # for html output
|
||||
, enableIconv ? false, iconv
|
||||
, enableLibuchardet ? false, libuchardet # for detecting input file encoding in preconv(1)
|
||||
, buildPackages
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
@ -54,7 +56,9 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config texinfo ];
|
||||
buildInputs = [ perl bash ]
|
||||
++ lib.optionals enableGhostscript [ ghostscript ]
|
||||
++ lib.optionals enableHtml [ psutils netpbm ];
|
||||
++ lib.optionals enableHtml [ psutils netpbm ]
|
||||
++ lib.optionals enableIconv [ iconv ]
|
||||
++ lib.optionals enableLibuchardet [ libuchardet ];
|
||||
|
||||
# Builds running without a chroot environment may detect the presence
|
||||
# of /usr/X11 in the host system, leading to an impure build of the
|
||||
|
Loading…
Reference in New Issue
Block a user