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

stdenv.mkDerivation {
  name = "libharu-2.3.0";

  src = fetchzip {
    url = "https://github.com/libharu/libharu/archive/RELEASE_2_3_0.tar.gz";
    sha256 = "15s9hswnl3qqi7yh29jyrg0hma2n99haxznvcywmsp8kjqlyg75q";
  };

  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;
  };
}