mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
Adding Links2
svn path=/nixpkgs/trunk/; revision=17949
This commit is contained in:
parent
742dcbc12e
commit
bd7526951e
33
pkgs/applications/networking/browsers/links2/default.nix
Normal file
33
pkgs/applications/networking/browsers/links2/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
a :
|
||||
let
|
||||
s = import ./src-for-default.nix;
|
||||
buildInputs = with a; [
|
||||
libpng libjpeg bzip2 zlib libtiff
|
||||
directfb libX11 libXau xproto gpm
|
||||
openssl libXt pkgconfig
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = a.fetchUrlFromSrcInfo s;
|
||||
|
||||
inherit (s) name;
|
||||
inherit buildInputs;
|
||||
configureFlags = [
|
||||
"--enable-graphics"
|
||||
"--with-ssl"
|
||||
"--with-x"
|
||||
"--with-fb"
|
||||
];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||
|
||||
meta = {
|
||||
description = "A small browser with some graphics support";
|
||||
maintainers = [
|
||||
a.lib.maintainers.raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
linux;
|
||||
};
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
rec {
|
||||
version="2.2";
|
||||
name="links2-2.2";
|
||||
hash="188y37rw4s9brl55ncc12q1b45w0caxcnsq1gqyby9byw1sawnq9";
|
||||
url="http://links.twibright.com/download/links-${version}.tar.gz";
|
||||
advertisedUrl="http://links.twibright.com/download/links-2.2.tar.gz";
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
downloadPage = "http://links.twibright.com/download.php";
|
||||
baseName = "links2";
|
||||
}
|
|
@ -1,4 +1,5 @@
|
|||
{stdenv, fetchurl, perl}:
|
||||
{stdenv, fetchurl, perl, zlib, libjpeg, freetype,
|
||||
SDL, libX11, xproto, xextproto, libXext, libpng}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "directfb-1.1.0";
|
||||
|
@ -6,5 +7,11 @@ stdenv.mkDerivation {
|
|||
url = http://www.directfb.org/downloads/Core/DirectFB-1.1.0.tar.gz;
|
||||
sha256 = "0fpjlgsyblvcjvqk8m3va2xsyx512mf26kwfsxarj1vql9b75s0f";
|
||||
};
|
||||
buildInputs = [perl];
|
||||
buildInputs = [perl zlib libjpeg freetype SDL
|
||||
xproto libX11 libXext xextproto libpng];
|
||||
configureFlags = [
|
||||
"--enable-sdl"
|
||||
"--enable-zlib"
|
||||
"--with-gfxdrivers=all"
|
||||
];
|
||||
}
|
||||
|
|
|
@ -3245,7 +3245,9 @@ let
|
|||
};
|
||||
|
||||
directfb = import ../development/libraries/directfb {
|
||||
inherit fetchurl stdenv perl;
|
||||
inherit fetchurl stdenv perl zlib libjpeg freetype
|
||||
SDL libpng;
|
||||
inherit (xlibs) libX11 libXext xproto xextproto;
|
||||
};
|
||||
|
||||
enchant = makeOverridable
|
||||
|
@ -7354,6 +7356,12 @@ let
|
|||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
links2 = (builderDefsPackage ../applications/networking/browsers/links2) {
|
||||
inherit fetchurl stdenv bzip2 zlib libjpeg libpng libtiff directfb
|
||||
gpm openssl SDL SDL_image SDL_net pkgconfig;
|
||||
inherit (xlibs) libX11 libXau xproto libXt;
|
||||
};
|
||||
|
||||
lynx = import ../applications/networking/browsers/lynx {
|
||||
inherit fetchurl stdenv ncurses openssl;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue