3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/browsers/netsurf/netsurf.nix
Tobias Geerinckx-Rice b2d7f4b1ba Use common licence attributes from lib/licenses.nix
Many (less easily automatically converted) old-style strings
remain.

Where there was any possible ambiguity about the exact version or
variant intended, nothing was changed. IANAL, nor a search robot.

Use `with stdenv.lib` wherever it makes sense.
2015-05-27 22:00:06 +02:00

39 lines
1.2 KiB
Nix

args: with args;
stdenv.mkDerivation {
name = "netsurf-devel";
# REGION AUTO UPDATE: { name="netsurf"; type = "svn"; url = "svn://svn.netsurf-browser.org/trunk/netsurf"; groups = "netsurf_group"; }
src= sourceFromHead "netsurf-9721.tar.gz"
(fetchurl { url = "http://mawercer.de/~nix/repos/netsurf-9721.tar.gz"; sha256 = "4705f059596fbd95b1a80d9a6c5d08daf051fd0e5e868ccd40b30af8a45e8f56"; });
# END
# name = "netsurf-2.1";
/*
src = fetchurl {
url = http://www.netsurf-browser.org/downloads/releases/netsurf-2.1-src.tar.gz;
sha256 = "10as2skm0pklx8bb8s0z2hh72f17snavkhj7dhi8r4sjr10wz8nd";
};
*/
buildInputs = [pkgconfig
libnsbmp libnsgif libwapcaplet libsvgtiny hubub libParserUtils
curl libpng libxml2 lcms glib libharu libmng
gtk libglade libCSS];
buildPhase = "make PREFIX=$out";
installPhase = "make PREFIX=$out install";
meta = with args.lib; {
description = "free, open source web browser";
homepage = http://www.netsurf-browser.org;
license = with licenses; [
gpl2
mit /* visual work */
];
maintainers = with maintainers; [ marcweber ];
platforms = platforms.linux;
};
}