2004-07-26 12:33:58 +02:00
|
|
|
{ stdenv, fetchurl, ncurses
|
|
|
|
, sslSupport ? true, openssl ? null
|
|
|
|
}:
|
|
|
|
|
|
|
|
assert sslSupport -> openssl != null;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-05-14 03:36:50 +02:00
|
|
|
name = "lynx-2.8.6";
|
2004-07-26 12:33:58 +02:00
|
|
|
src = fetchurl {
|
2007-05-14 03:36:50 +02:00
|
|
|
url = http://lynx.isc.org/lynx2.8.6/lynx2.8.6.tar.bz2;
|
|
|
|
sha256 = "0kbnxg01w1hczii6yqkx05dcx6yfcpqadrsavjyq3h68birc366w";
|
2004-07-26 12:33:58 +02:00
|
|
|
};
|
|
|
|
configureFlags = (if sslSupport then "--with-ssl" else "");
|
|
|
|
buildInputs = [ncurses (if sslSupport then openssl else null)];
|
2006-10-12 12:53:16 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A text-mode web browser";
|
|
|
|
};
|
2004-07-26 12:33:58 +02:00
|
|
|
}
|