mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
4f854226f5
svn path=/nixpkgs/trunk/; revision=27578
23 lines
629 B
Nix
23 lines
629 B
Nix
{ stdenv, fetchurl, zlib, libpng }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "libharu-2.2.1";
|
|
|
|
src = fetchurl {
|
|
url = http://libharu.org/files/libharu-2.2.1.tar.bz2;
|
|
sha256 = "04493rjb4z8f04p3kjvnya8phg4b0vzy3mbdbp8jfy0dhvqg4h4j";
|
|
};
|
|
|
|
configureFlags = "--with-zlib=${zlib} --with-png=${libpng}";
|
|
|
|
buildInputs = [ zlib libpng ];
|
|
|
|
meta = {
|
|
description = "Cross platform, open source library for generating PDF files";
|
|
homepage = http://libharu.org/wiki/Main_Page;
|
|
license = "ZLIB/LIBPNG"; # see README.
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|