diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2004-07-26 10:33:58 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2004-07-26 10:33:58 +0000 |
commit | 45ac835af6dd7c084389aa70fa109eab0c49dc45 (patch) | |
tree | 9991bb2a066a943a77ee158fb94882b2d1a8be89 /pkgs/applications/networking/browsers/lynx | |
parent | 8570f757045432c1e5d94307961ddadc7bc2602b (diff) | |
download | nixpkgs-45ac835af6dd7c084389aa70fa109eab0c49dc45.tar nixpkgs-45ac835af6dd7c084389aa70fa109eab0c49dc45.tar.gz nixpkgs-45ac835af6dd7c084389aa70fa109eab0c49dc45.tar.bz2 nixpkgs-45ac835af6dd7c084389aa70fa109eab0c49dc45.tar.lz nixpkgs-45ac835af6dd7c084389aa70fa109eab0c49dc45.tar.xz nixpkgs-45ac835af6dd7c084389aa70fa109eab0c49dc45.tar.zst nixpkgs-45ac835af6dd7c084389aa70fa109eab0c49dc45.zip |
* Finally a real web browser!
svn path=/nixpkgs/trunk/; revision=1180
Diffstat (limited to 'pkgs/applications/networking/browsers/lynx')
-rw-r--r-- | pkgs/applications/networking/browsers/lynx/builder.sh | 5 | ||||
-rw-r--r-- | pkgs/applications/networking/browsers/lynx/default.nix | 17 |
2 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/lynx/builder.sh b/pkgs/applications/networking/browsers/lynx/builder.sh new file mode 100644 index 00000000000..d24d19b1614 --- /dev/null +++ b/pkgs/applications/networking/browsers/lynx/builder.sh @@ -0,0 +1,5 @@ +. $stdenv/setup + +export CFLAGS="-I$ncurses/include/ncurses" + +genericBuild diff --git a/pkgs/applications/networking/browsers/lynx/default.nix b/pkgs/applications/networking/browsers/lynx/default.nix new file mode 100644 index 00000000000..f98ff83682f --- /dev/null +++ b/pkgs/applications/networking/browsers/lynx/default.nix @@ -0,0 +1,17 @@ +{ stdenv, fetchurl, ncurses +, sslSupport ? true, openssl ? null +}: + +assert sslSupport -> openssl != null; + +stdenv.mkDerivation { + name = "lynx-2.8.5"; + builder = ./builder.sh; + src = fetchurl { + url = http://lynx.isc.org/release/lynx2.8.5.tar.bz2; + md5 = "d1e5134e5d175f913c16cb6768bc30eb"; + }; + inherit ncurses; + configureFlags = (if sslSupport then "--with-ssl" else ""); + buildInputs = [ncurses (if sslSupport then openssl else null)]; +} |