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";
|
|
|
|
version = "2.3.0";
|
2009-09-13 08:54:44 +00:00
|
|
|
|
2021-06-09 09:26:18 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "libharu";
|
|
|
|
repo = pname;
|
|
|
|
rev = "RELEASE_${lib.replaceStrings ["."] ["_"] version}";
|
2015-02-25 07:46:01 +00:00
|
|
|
sha256 = "15s9hswnl3qqi7yh29jyrg0hma2n99haxznvcywmsp8kjqlyg75q";
|
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
|
|
|
};
|
|
|
|
}
|