3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/browsers/netsurf/default.nix
Marc Weber 5319704f80 removing old bleeding edge cruft replacing it by a niftier version using
source regions which are substituded by the tool nix-repository-manager.
See http://github.com/MarcWeber/nix-repository-manager/raw/master/README.

sourceByName is called sourceFromHead now.

updates: MPlayerTrunk, haxe, neko, netsurf, cinelerra, ctags
cinelerra does no longer build due to Xorg update

svn path=/nixpkgs/trunk/; revision=18894
2009-12-11 13:58:23 +00:00

87 lines
2.4 KiB
Nix

{ pkgs }:
with pkgs;
rec {
libParserUtils = import ./libParserUtils.nix {
inherit fetchurl pkgconfig stdenv lib;
};
libCSS = import ./libCSS.nix {
inherit fetchurl sourceFromHead stdenv lib pkgconfig libParserUtils
libwapcaplet;
};
libnsbmp = import ./libnsbmp.nix {
inherit fetchurl stdenv lib;
};
libnsgif = import ./libnsgif.nix {
inherit fetchurl stdenv lib;
};
libwapcaplet = import ./libwapcaplet.nix {
inherit fetchurl sourceFromHead stdenv lib;
};
libsvgtiny = import ./libsvgtiny.nix {
inherit fetchurl sourceFromHead stdenv lib pkgconfig gperf libxml2;
};
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;
};
};
/*
# unfinished - experimental
libdom = stdenv.mkDerivation {
name = "libdom-devel";
# 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
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;
};
};
*/
netsurfHaru = import ./haru.nix {
inherit fetchurl sourceFromHead stdenv lib zlib libpng;
};
browser = import ./netsurf.nix {
inherit fetchurl sourceFromHead stdenv lib pkgconfig
libnsbmp libnsgif libsvgtiny libwapcaplet hubub libParserUtils
libpng libxml2 libCSS lcms curl libmng;
libharu = netsurfHaru;
inherit (gnome) glib gtk libglade;
};
}