2010-07-28 11:55:54 +00:00
|
|
|
{ stdenv, fetchurl, python, perl, ncurses, x11, bzip2, zlib, openssl
|
|
|
|
, spidermonkey, guile, gpm }:
|
2007-07-17 19:29:53 +00:00
|
|
|
|
2010-04-12 22:56:13 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "elinks-0.12pre5";
|
2007-07-17 19:29:53 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-04-12 22:56:13 +00:00
|
|
|
url = http://elinks.or.cz/download/elinks-0.12pre5.tar.bz2;
|
|
|
|
sha256 = "1li4vlbq8wvnigxlkzb15490y90jg6y9yzzrqpqcz2h965w5869d";
|
2007-07-17 19:29:53 +00:00
|
|
|
};
|
|
|
|
|
2011-04-28 21:22:24 +00:00
|
|
|
patches = [ ./gc-init.patch ];
|
|
|
|
|
2010-07-28 11:55:54 +00:00
|
|
|
buildInputs = [ python perl ncurses x11 bzip2 zlib openssl spidermonkey guile gpm ];
|
2011-04-28 21:22:24 +00:00
|
|
|
|
2010-07-28 11:55:54 +00:00
|
|
|
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 11:15:37 +00:00
|
|
|
|
2010-08-11 20:14:25 +00: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 19:29:53 +00:00
|
|
|
meta = {
|
2010-07-28 11:55:54 +00:00
|
|
|
description = "Full-featured text-mode web browser";
|
2007-09-11 11:15:37 +00:00
|
|
|
homepage = http://elinks.or.cz;
|
2007-07-17 19:29:53 +00:00
|
|
|
};
|
|
|
|
}
|