depot/third_party/nixpkgs/pkgs/development/libraries/libharu/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

24 lines
612 B
Nix

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