2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchzip, cmake, zlib, libpng }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "libharu-2.3.0";
|
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/libharu/libharu/archive/RELEASE_2_3_0.tar.gz";
|
|
|
|
sha256 = "15s9hswnl3qqi7yh29jyrg0hma2n99haxznvcywmsp8kjqlyg75q";
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ zlib libpng ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Cross platform, open source library for generating PDF files";
|
|
|
|
homepage = "http://libharu.org/";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.zlib;
|
|
|
|
maintainers = [ lib.maintainers.marcweber ];
|
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|