summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/netsurf/haru.nix
blob: a99ccdc0cccda825eef4c5591ec15aa1efac14df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
args: with args;
stdenv.mkDerivation {

  name = "netsurf-haru-trunk";

  src = sourceByName "netsurf_haru";

  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;
  };
}