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