3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/browsers/lynx/default.nix
Lluís Batlle i Rossell 57df19fe85 utf-8 was not working in cross-built ncurses programs due to some old problem
cross-building ncursesw not present anymore. I reenable unicode cross-building.


svn path=/nixpkgs/branches/stdenv-updates/; revision=24245
2010-10-12 19:06:04 +00:00

25 lines
580 B
Nix

{ stdenv, fetchurl, ncurses
, sslSupport ? true, openssl ? null
}:
assert sslSupport -> openssl != null;
stdenv.mkDerivation {
name = "lynx-2.8.7";
src = fetchurl {
url = http://lynx.isc.org/lynx2.8.7/lynx2.8.7.tar.bz2;
sha256 = "1baxwpdvak6nalr943g22z67r1d3fbibbkqvkvvar9xlvrs9gv20";
};
configureFlags = if sslSupport then "--with-ssl" else "";
buildInputs = [ ncurses ] ++ stdenv.lib.optional sslSupport openssl;
buildNativeInputs = [ ncurses ];
meta = {
homepage = http://lynx.isc.org/;
description = "A text-mode web browser";
};
}