tesseract: format
This commit is contained in:
parent
c83af730d6
commit
ff51f58e1d
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user