depot/third_party/nixpkgs/pkgs/development/libraries/libharu/default.nix
Default email 410b979fe2 Project import generated by Copybara.
GitOrigin-RevId: a64e169e396460d6b5763a1de1dd197df8421688
2023-03-24 01:07:29 +01:00

24 lines
612 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, zlib, libpng }:
stdenv.mkDerivation rec {
pname = "libharu";
version = "2.4.3";
src = fetchFromGitHub {
owner = "libharu";
repo = pname;
rev = "v${version}";
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;
};
}