2021-06-09 09:26:18 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, zlib, libpng }:
|
2010-07-28 11:55:54 +00:00
|
|
|
|
2021-06-09 09:26:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libharu";
|
2022-10-18 14:10:23 +00:00
|
|
|
version = "2.4.3";
|
2009-09-13 08:54:44 +00:00
|
|
|
|
2021-06-09 09:26:18 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "libharu";
|
|
|
|
repo = pname;
|
2022-09-01 12:53:23 +00:00
|
|
|
rev = "v${version}";
|
2022-10-18 14:10:23 +00:00
|
|
|
hash = "sha256-v8eD1ZEFQFA7ceWOgOmq7hP0ZMPfxjdAp7ov4PBPaAE=";
|
2009-09-13 08:54:44 +00:00
|
|
|
};
|
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ zlib libpng ];
|
2012-01-27 15:05:35 +00:00
|
|
|
|
2011-07-02 14:16:06 +00:00
|
|
|
meta = {
|
|
|
|
description = "Cross platform, open source library for generating PDF files";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://libharu.org/";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.zlib;
|
|
|
|
maintainers = [ lib.maintainers.marcweber ];
|
|
|
|
platforms = lib.platforms.unix;
|
2009-09-13 08:54:44 +00:00
|
|
|
};
|
|
|
|
}
|