parent
483479ffba
commit
f16eea1867
@ -4,12 +4,12 @@
|
||||
, mouseSupport ? false
|
||||
, ncurses, openssl ? null, boehmgc, gettext, zlib
|
||||
, imlib2 ? null, x11 ? null, fbcon ? null
|
||||
, gpm ? null
|
||||
, gpm-ncurses ? null
|
||||
}:
|
||||
|
||||
assert sslSupport -> openssl != null;
|
||||
assert graphicsSupport -> imlib2 != null && (x11 != null || fbcon != null);
|
||||
assert mouseSupport -> gpm != null;
|
||||
assert mouseSupport -> gpm-ncurses != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "w3m-0.5.3";
|
||||
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ncurses boehmgc gettext zlib]
|
||||
++ stdenv.lib.optional sslSupport openssl
|
||||
++ stdenv.lib.optional mouseSupport gpm
|
||||
++ stdenv.lib.optional mouseSupport gpm-ncurses
|
||||
++ stdenv.lib.optionals graphicsSupport [imlib2 x11 fbcon];
|
||||
|
||||
configureFlags = "--with-ssl=${openssl} --with-gc=${boehmgc}"
|
||||
|
@ -9650,6 +9650,8 @@ let
|
||||
ncurses = null; # Keep curses disabled for lack of value
|
||||
};
|
||||
|
||||
gpm-ncurses = gpm.override { inherit ncurses; };
|
||||
|
||||
gradm = callPackage ../os-specific/linux/gradm {
|
||||
flex = flex_2_5_35;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user