Updating libharu. I renamed it from haru to libharu; I prefer libharu for the name.

svn path=/nixpkgs/trunk/; revision=27578
This commit is contained in:
Lluís Batlle i Rossell 2011-07-02 14:16:06 +00:00
parent fef7d9197e
commit 4f854226f5

View File

@ -1,11 +1,11 @@
{ stdenv, fetchurl, zlib, libpng }: { stdenv, fetchurl, zlib, libpng }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "haru-2.1.0"; name = "libharu-2.2.1";
src = fetchurl { src = fetchurl {
url = http://libharu.org/files/libharu-2.1.0.tar.bz2; url = http://libharu.org/files/libharu-2.2.1.tar.bz2;
sha256 = "07mbvw41jwrapc8jwhi385jpr5b3wx6kah41mkxkifvc06y2141r"; sha256 = "04493rjb4z8f04p3kjvnya8phg4b0vzy3mbdbp8jfy0dhvqg4h4j";
}; };
configureFlags = "--with-zlib=${zlib} --with-png=${libpng}"; configureFlags = "--with-zlib=${zlib} --with-png=${libpng}";
@ -13,7 +13,7 @@ stdenv.mkDerivation {
buildInputs = [ zlib libpng ]; buildInputs = [ zlib libpng ];
meta = { meta = {
description = "cross platform, open source library for generating PDF files"; description = "Cross platform, open source library for generating PDF files";
homepage = http://libharu.org/wiki/Main_Page; homepage = http://libharu.org/wiki/Main_Page;
license = "ZLIB/LIBPNG"; # see README. license = "ZLIB/LIBPNG"; # see README.
maintainers = [ stdenv.lib.maintainers.marcweber ]; maintainers = [ stdenv.lib.maintainers.marcweber ];