mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
007f80c1d0
Should eval cleanly, as far as -A tarball tells me. Relevant: issue #2999, issue #739
27 lines
942 B
Nix
27 lines
942 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 = with stdenv.lib.licenses; [ libpng zlib ];
|
|
maintainers = [args.lib.maintainers.marcweber];
|
|
platforms = args.lib.platforms.linux;
|
|
broken = true;
|
|
};
|
|
}
|