2009-09-13 09:54:47 +01:00
|
|
|
{ pkgs }:
|
|
|
|
with pkgs;
|
|
|
|
|
|
|
|
rec {
|
|
|
|
|
|
|
|
libParserUtils = import ./libParserUtils.nix {
|
|
|
|
inherit fetchurl pkgconfig stdenv lib;
|
|
|
|
};
|
|
|
|
|
|
|
|
libCSS = import ./libCSS.nix {
|
2009-12-11 13:58:23 +00:00
|
|
|
inherit fetchurl sourceFromHead stdenv lib pkgconfig libParserUtils
|
|
|
|
libwapcaplet;
|
2009-09-13 09:54:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
libnsbmp = import ./libnsbmp.nix {
|
|
|
|
inherit fetchurl stdenv lib;
|
|
|
|
};
|
|
|
|
|
|
|
|
libnsgif = import ./libnsgif.nix {
|
|
|
|
inherit fetchurl stdenv lib;
|
|
|
|
};
|
|
|
|
|
|
|
|
libwapcaplet = import ./libwapcaplet.nix {
|
2009-12-11 13:58:23 +00:00
|
|
|
inherit fetchurl sourceFromHead stdenv lib;
|
2009-09-13 09:54:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
libsvgtiny = import ./libsvgtiny.nix {
|
2009-12-11 13:58:23 +00:00
|
|
|
inherit fetchurl sourceFromHead stdenv lib pkgconfig gperf libxml2;
|
2009-09-13 09:54:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
hubub = stdenv.mkDerivation {
|
|
|
|
name = "Hubbub-0.0.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://www.netsurf-browser.org/projects/releases/hubbub-0.0.1-src.tar.gz;
|
|
|
|
sha256 = "1pwcnxp3h5ysnr3nxhnwghaabri5zjaibrcarsrrnhkn2gvvv81v";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = "make PREFIX=$out install";
|
|
|
|
buildInputs = [pkgconfig libParserUtils];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "HTML5 compliant parsing library, written in C";
|
|
|
|
homepage = http://www.netsurf-browser.org/projects/hubbub/;
|
|
|
|
license = "MIT";
|
|
|
|
maintainers = [lib.maintainers.marcweber];
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2009-09-21 11:09:20 +01:00
|
|
|
/*
|
|
|
|
# unfinished - experimental
|
2009-09-13 09:54:47 +01:00
|
|
|
libdom = stdenv.mkDerivation {
|
|
|
|
name = "libdom-devel";
|
|
|
|
|
2009-12-11 13:58:23 +00:00
|
|
|
# REGION AUTO UPDATE: { name="libdom"; type = "svn"; url = "svn://svn.netsurf-browser.org/trunk/dom"; groups = "netsurf_group"; }
|
|
|
|
src= sourceFromHead "libdom-9721.tar.gz"
|
|
|
|
(fetchurl { url = "http://mawercer.de/~nix/repos/libdom-9721.tar.gz"; sha256 = "ca4b94a8dd32036787331a14133c36a49daded40bdb4c04edc3eab99e2193abc"; });
|
|
|
|
# END
|
2009-09-13 09:54:47 +01:00
|
|
|
installPhase = "make PREFIX=$out install";
|
|
|
|
buildInputs = [pkgconfig];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "implementation of the W3C DOM, written in C";
|
|
|
|
homepage = http://www.netsurf-browser.org/projects/hubbub/;
|
|
|
|
license = "MIT";
|
|
|
|
maintainers = [lib.maintainers.marcweber];
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
};
|
|
|
|
};
|
2009-09-21 11:09:20 +01:00
|
|
|
*/
|
2009-09-13 09:54:47 +01:00
|
|
|
|
|
|
|
netsurfHaru = import ./haru.nix {
|
2009-12-11 13:58:23 +00:00
|
|
|
inherit fetchurl sourceFromHead stdenv lib zlib libpng;
|
2009-09-13 09:54:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
browser = import ./netsurf.nix {
|
2009-12-11 13:58:23 +00:00
|
|
|
inherit fetchurl sourceFromHead stdenv lib pkgconfig
|
2009-09-13 09:54:47 +01:00
|
|
|
libnsbmp libnsgif libsvgtiny libwapcaplet hubub libParserUtils
|
|
|
|
libpng libxml2 libCSS lcms curl libmng;
|
|
|
|
libharu = netsurfHaru;
|
|
|
|
inherit (gnome) glib gtk libglade;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
}
|