2021-06-09 10:26:18 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, zlib, libpng }:
|
2010-07-28 12:55:54 +01:00
|
|
|
|
2021-06-09 10:26:18 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libharu";
|
2022-09-01 13:53:23 +01:00
|
|
|
version = "2.4.0";
|
2009-09-13 09:54:44 +01:00
|
|
|
|
2021-06-09 10:26:18 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "libharu";
|
|
|
|
repo = pname;
|
2022-09-01 13:53:23 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-85o9pb2zJVYbM0SHxCNgJuDkcsHuFuwFe6B6xivoUUg=";
|
2009-09-13 09:54:44 +01: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 15:16:06 +01:00
|
|
|
meta = {
|
|
|
|
description = "Cross platform, open source library for generating PDF files";
|
2020-04-01 02:11:51 +01: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 09:54:44 +01:00
|
|
|
};
|
|
|
|
}
|