2006-04-28 12:02:52 -07:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, sslSupport ? true
|
|
|
|
, graphicsSupport ? false
|
|
|
|
, ncurses, openssl ? null, boehmgc, gettext, zlib, gdkpixbuf ? null
|
2005-09-14 09:23:02 -07:00
|
|
|
}:
|
|
|
|
|
|
|
|
assert sslSupport -> openssl != null;
|
2006-04-28 12:02:52 -07:00
|
|
|
assert graphicsSupport -> gdkpixbuf != null;
|
2005-09-14 09:23:02 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-09-11 13:05:54 -07:00
|
|
|
name = "w3m-0.5.2";
|
2005-09-14 09:23:02 -07:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2007-09-11 13:05:54 -07:00
|
|
|
url = mirror://sourceforge/w3m/w3m-0.5.2.tar.gz;
|
|
|
|
md5 = "ba06992d3207666ed1bf2dcf7c72bf58";
|
2005-09-14 09:23:02 -07:00
|
|
|
};
|
2005-09-16 02:18:49 -07:00
|
|
|
inherit openssl boehmgc;
|
2006-04-28 12:02:52 -07:00
|
|
|
buildInputs = [
|
|
|
|
ncurses boehmgc gettext zlib
|
|
|
|
(if sslSupport then openssl else null)
|
|
|
|
(if graphicsSupport then gdkpixbuf else null)
|
|
|
|
];
|
2007-09-11 13:05:54 -07:00
|
|
|
#patches = [./bsd.patch];
|
2005-09-14 09:23:02 -07:00
|
|
|
}
|