summary refs log tree commit diff
path: root/pkgs/development/libraries/libharu/default.nix
blob: dabd74e648c3cbc974afa1acc3ef91e84aa13503 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, stdenv, fetchFromGitHub, cmake, zlib, libpng }:

stdenv.mkDerivation rec {
  pname = "libharu";
  version = "2.4.4";

  src = fetchFromGitHub {
    owner = "libharu";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-tw/E79Cg/8kIei6NUu1W+mP0sUDCm8KTB7ZjzxsqpeM=";
  };

  nativeBuildInputs = [ cmake ];
  buildInputs = [ zlib libpng ];

  meta = {
    description = "Cross platform, open source library for generating PDF files";
    homepage = "http://libharu.org/";
    license = lib.licenses.zlib;
    maintainers = [ lib.maintainers.marcweber ];
    platforms = lib.platforms.unix;
  };
}