mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
* Finally a real web browser!
svn path=/nixpkgs/trunk/; revision=1180
This commit is contained in:
parent
8570f75704
commit
45ac835af6
5
pkgs/applications/networking/browsers/lynx/builder.sh
Normal file
5
pkgs/applications/networking/browsers/lynx/builder.sh
Normal file
@ -0,0 +1,5 @@
|
||||
. $stdenv/setup
|
||||
|
||||
export CFLAGS="-I$ncurses/include/ncurses"
|
||||
|
||||
genericBuild
|
17
pkgs/applications/networking/browsers/lynx/default.nix
Normal file
17
pkgs/applications/networking/browsers/lynx/default.nix
Normal file
@ -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)];
|
||||
}
|
@ -595,6 +595,10 @@ rec {
|
||||
inherit (gnome) libIDL;
|
||||
};
|
||||
|
||||
lynx = (import ../applications/networking/browsers/lynx) {
|
||||
inherit fetchurl stdenv ncurses openssl;
|
||||
};
|
||||
|
||||
MPlayer = (import ../applications/video/MPlayer) {
|
||||
inherit fetchurl stdenv freetype x11 zlib;
|
||||
inherit (xlibs) libXv;
|
||||
|
@ -46,6 +46,7 @@ let {
|
||||
pan
|
||||
sylpheed
|
||||
firefox
|
||||
lynx
|
||||
MPlayer
|
||||
MPlayerPlugin
|
||||
vlc
|
||||
|
Loading…
Reference in New Issue
Block a user