summary refs log tree commit diff
path: root/pkgs/development/libraries/libharu/default.nix
blob: 51c06c0382b082f76c1899cd49b1d0b6ab903487 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
args: with args;
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}";

  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 = [args.lib.maintainers.marcweber];
    platforms = args.lib.platforms.linux;
  };
}