5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
24 lines
612 B
Nix
24 lines
612 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, zlib, libpng }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libharu";
|
|
version = "2.4.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "libharu";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-tw/E79Cg/8kIei6NUu1W+mP0sUDCm8KTB7ZjzxsqpeM=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|