tesseract: format

This commit is contained in:
Patrick 2024-11-05 21:16:42 +01:00
parent c83af730d6
commit ff51f58e1d
No known key found for this signature in database
GPG Key ID: 451F95EFB8BECD0F

View File

@ -1,6 +1,20 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
, curl, leptonica, libarchive, libpng, libtiff, icu, pango, opencl-headers
, Accelerate, CoreGraphics, CoreVideo
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
curl,
leptonica,
libarchive,
libpng,
libtiff,
icu,
pango,
opencl-headers,
Accelerate,
CoreGraphics,
CoreVideo,
}:
stdenv.mkDerivation rec {
@ -21,20 +35,22 @@ stdenv.mkDerivation rec {
autoreconfHook
];
buildInputs = [
curl
leptonica
libarchive
libpng
libtiff
icu
pango
opencl-headers
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
Accelerate
CoreGraphics
CoreVideo
];
buildInputs =
[
curl
leptonica
libarchive
libpng
libtiff
icu
pango
opencl-headers
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
Accelerate
CoreGraphics
CoreVideo
];
meta = {
description = "OCR engine";