mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
adding haru pdf lib
svn path=/nixpkgs/trunk/; revision=17076
This commit is contained in:
parent
8b8b058662
commit
dee4d93757
21
pkgs/development/libraries/libharu/default.nix
Normal file
21
pkgs/development/libraries/libharu/default.nix
Normal file
|
@ -0,0 +1,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;
|
||||
};
|
||||
}
|
|
@ -3563,6 +3563,10 @@ let
|
|||
inherit (gtkLibs) glib;
|
||||
};
|
||||
|
||||
libharu = import ../development/libraries/libharu {
|
||||
inherit fetchurl stdenv lib zlib libpng;
|
||||
};
|
||||
|
||||
libical = import ../development/libraries/libical {
|
||||
inherit stdenv fetchurl perl;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue