2010-07-28 13:55:54 +02:00
|
|
|
{ stdenv, fetchurl, zlib, libpng }:
|
|
|
|
|
2009-09-13 10:54:44 +02:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "haru-2.1.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://libharu.org/files/libharu-2.1.0.tar.bz2;
|
|
|
|
sha256 = "07mbvw41jwrapc8jwhi385jpr5b3wx6kah41mkxkifvc06y2141r";
|
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = "--with-zlib=${zlib} --with-png=${libpng}";
|
|
|
|
|
2010-07-28 13:55:54 +02:00
|
|
|
buildInputs = [ zlib libpng ];
|
2009-09-13 10:54:44 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "cross platform, open source library for generating PDF files";
|
|
|
|
homepage = http://libharu.org/wiki/Main_Page;
|
|
|
|
license = "ZLIB/LIBPNG"; # see README.
|
2010-07-28 13:55:54 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-09-13 10:54:44 +02:00
|
|
|
};
|
|
|
|
}
|