2006-04-28 21:02:52 +02:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, sslSupport ? true
|
|
|
|
, graphicsSupport ? false
|
|
|
|
, ncurses, openssl ? null, boehmgc, gettext, zlib, gdkpixbuf ? null
|
2005-09-14 18:23:02 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
assert sslSupport -> openssl != null;
|
2006-04-28 21:02:52 +02:00
|
|
|
assert graphicsSupport -> gdkpixbuf != null;
|
2005-09-14 18:23:02 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "w3m-0.5.1";
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2007-08-27 15:01:33 +02:00
|
|
|
url = mirror://sourceforge/w3m/w3m-0.5.1.tar.gz;
|
2005-09-14 18:23:02 +02:00
|
|
|
md5 = "0678b72e07e69c41709d71ef0fe5da13";
|
|
|
|
};
|
2005-09-16 11:18:49 +02:00
|
|
|
inherit openssl boehmgc;
|
2006-04-28 21:02:52 +02:00
|
|
|
buildInputs = [
|
|
|
|
ncurses boehmgc gettext zlib
|
|
|
|
(if sslSupport then openssl else null)
|
|
|
|
(if graphicsSupport then gdkpixbuf else null)
|
|
|
|
];
|
2005-09-16 11:35:02 +02:00
|
|
|
patches = [./bsd.patch];
|
2005-09-14 18:23:02 +02:00
|
|
|
}
|