2004-07-26 12:33:58 +02:00
|
|
|
{ stdenv, fetchurl, ncurses
|
|
|
|
, sslSupport ? true, openssl ? null
|
|
|
|
}:
|
|
|
|
|
|
|
|
assert sslSupport -> openssl != null;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "lynx-2.8.5";
|
|
|
|
src = fetchurl {
|
2005-08-22 10:39:27 +02:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/lynx2.8.5.tar.bz2;
|
2004-07-26 12:33:58 +02:00
|
|
|
md5 = "d1e5134e5d175f913c16cb6768bc30eb";
|
|
|
|
};
|
|
|
|
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
|
|
|
}
|