From 71d7ecd446127062ed14cd3ac7f859e0aa91cbf2 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 14 Sep 2005 16:23:02 +0000 Subject: * Added w3m. svn path=/nixpkgs/trunk/; revision=3827 --- pkgs/applications/networking/browsers/w3m/builder.sh | 6 ++++++ pkgs/applications/networking/browsers/w3m/default.nix | 16 ++++++++++++++++ pkgs/system/all-packages-generic.nix | 4 ++++ 3 files changed, 26 insertions(+) create mode 100644 pkgs/applications/networking/browsers/w3m/builder.sh create mode 100644 pkgs/applications/networking/browsers/w3m/default.nix (limited to 'pkgs') diff --git a/pkgs/applications/networking/browsers/w3m/builder.sh b/pkgs/applications/networking/browsers/w3m/builder.sh new file mode 100644 index 00000000000..284f41ff992 --- /dev/null +++ b/pkgs/applications/networking/browsers/w3m/builder.sh @@ -0,0 +1,6 @@ +. $stdenv/setup + +configureFlags="--with-ssl=$openssl $configureFlags" +#export CFLAGS="-I$ncurses/include/ncurses" + +genericBuild diff --git a/pkgs/applications/networking/browsers/w3m/default.nix b/pkgs/applications/networking/browsers/w3m/default.nix new file mode 100644 index 00000000000..bc26e938371 --- /dev/null +++ b/pkgs/applications/networking/browsers/w3m/default.nix @@ -0,0 +1,16 @@ +{ stdenv, fetchurl, ncurses +, sslSupport ? true, openssl ? null, boehmgc, gettext +}: + +assert sslSupport -> openssl != null; + +stdenv.mkDerivation { + name = "w3m-0.5.1"; + builder = ./builder.sh; + src = fetchurl { + url = http://surfnet.dl.sourceforge.net/sourceforge/w3m/w3m-0.5.1.tar.gz; + md5 = "0678b72e07e69c41709d71ef0fe5da13"; + }; + inherit ncurses openssl; + buildInputs = [ncurses (if sslSupport then openssl else null) boehmgc gettext]; +} diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index b66a3af6904..d3b5b85b3a5 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -1423,6 +1423,10 @@ rec { inherit fetchurl stdenv ncurses openssl; }; + w3m = (import ../applications/networking/browsers/w3m) { + inherit fetchurl stdenv ncurses openssl boehmgc gettext; + }; + gaim = (import ../applications/networking/instant-messengers/gaim) { inherit fetchurl stdenv pkgconfig perl libxml2 openssl nss; inherit (gtkLibs) glib gtk; -- cgit 1.4.1