2010-07-28 12:55:54 +01:00
|
|
|
{ stdenv, fetchurl, python, perl, ncurses, x11, bzip2, zlib, openssl
|
|
|
|
, spidermonkey, guile, gpm }:
|
2007-07-17 20:29:53 +01:00
|
|
|
|
2010-04-12 23:56:13 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "elinks-0.12pre5";
|
2007-07-17 20:29:53 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-04-12 23:56:13 +01:00
|
|
|
url = http://elinks.or.cz/download/elinks-0.12pre5.tar.bz2;
|
|
|
|
sha256 = "1li4vlbq8wvnigxlkzb15490y90jg6y9yzzrqpqcz2h965w5869d";
|
2007-07-17 20:29:53 +01:00
|
|
|
};
|
|
|
|
|
2010-07-28 12:55:54 +01:00
|
|
|
buildInputs = [ python perl ncurses x11 bzip2 zlib openssl spidermonkey guile gpm ];
|
|
|
|
|
|
|
|
configureFlags =
|
|
|
|
''
|
|
|
|
--enable-finger --enable-html-highlight --with-guile
|
|
|
|
--with-perl --with-python --enable-gopher --enable-cgi --enable-bittorrent
|
|
|
|
--enable-nntp --with-openssl=${openssl}
|
|
|
|
'';
|
2007-09-11 12:15:37 +01:00
|
|
|
|
2010-08-11 21:14:25 +01:00
|
|
|
crossAttrs = {
|
|
|
|
propagatedBuildInputs = [ ncurses.hostDrv zlib.hostDrv openssl.hostDrv ];
|
|
|
|
configureFlags = ''
|
|
|
|
--enable-finger --enable-html-highlight
|
|
|
|
--enable-gopher --enable-cgi --enable-bittorrent --enable-nntp
|
|
|
|
--with-openssl=${openssl.hostDrv}
|
|
|
|
--with-bzip2=${bzip2.hostDrv}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2007-07-17 20:29:53 +01:00
|
|
|
meta = {
|
2010-07-28 12:55:54 +01:00
|
|
|
description = "Full-featured text-mode web browser";
|
2007-09-11 12:15:37 +01:00
|
|
|
homepage = http://elinks.or.cz;
|
2007-07-17 20:29:53 +01:00
|
|
|
};
|
|
|
|
}
|