about summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2004-07-26 10:33:58 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2004-07-26 10:33:58 +0000
commit45ac835af6dd7c084389aa70fa109eab0c49dc45 (patch)
tree9991bb2a066a943a77ee158fb94882b2d1a8be89 /pkgs/applications/networking
parent8570f757045432c1e5d94307961ddadc7bc2602b (diff)
* Finally a real web browser!
svn path=/nixpkgs/trunk/; revision=1180
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/browsers/lynx/builder.sh5
-rw-r--r--pkgs/applications/networking/browsers/lynx/default.nix17
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 0000000000000..d24d19b16143e
--- /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 0000000000000..f98ff83682f74
--- /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)];
+}