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