nixpkgs/pkgs/applications/networking/browsers/netsurf/haru.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

26 lines
910 B
Nix

args: with args;
stdenv.mkDerivation {
name = "netsurf-haru-trunk";
# REGION AUTO UPDATE: { name="netsurf_haru"; type = "svn"; url = "svn://svn.netsurf-browser.org/trunk/libharu"; groups = "netsurf_group"; }
src= sourceFromHead "netsurf_haru-9721.tar.gz"
(fetchurl { url = "http://mawercer.de/~nix/repos/netsurf_haru-9721.tar.gz"; sha256 = "8113492823e1069f428ef8970c2c7a09b4c36c645480ce81f8351331ce097656"; });
# END
preConfigure = "cd upstream";
configureFlags = "--with-zlib=${zlib} --with-png=${libpng}";
buildInputs = [zlib libpng];
installPhase = "make PREFIX=$out install";
meta = {
description = "cross platform, open source library for generating PDF files";
homepage = http://libharu.org/wiki/Main_Page;
license = "ZLIB/LIBPNG"; # see README.
maintainers = [args.lib.maintainers.marcweber];
platforms = args.lib.platforms.linux;
};
}