nixpkgs/pkgs/development/libraries/libharu/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
612 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, zlib, libpng }:
stdenv.mkDerivation rec {
pname = "libharu";
2022-10-18 14:10:23 +00:00
version = "2.4.3";
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=";
};
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;
};
}