Skip to content

Commit

Permalink
tesseract: 5.3.4 -> 5.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickDaG committed Nov 20, 2024
1 parent ecbe8af commit 63d6fcc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/applications/graphics/tesseract/tesseract5.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
nix-update-script,
autoreconfHook,
pkg-config,
curl,
Expand All @@ -11,21 +12,20 @@
libtiff,
icu,
pango,
opencl-headers,
Accelerate,
CoreGraphics,
CoreVideo,
}:

stdenv.mkDerivation rec {
pname = "tesseract";
version = "5.3.4";
version = "5.5.0";

src = fetchFromGitHub {
owner = "tesseract-ocr";
repo = "tesseract";
rev = version;
sha256 = "sha256-IKxzDhSM+BPsKyQP3mADAkpRSGHs4OmdFIA+Txt084M=";
sha256 = "sha256-qyckAQZs3gR1NBqWgE+COSKXhv3kPF+iHVQrt6OPi8s=";
};

enableParallelBuilding = true;
Expand All @@ -44,14 +44,14 @@ stdenv.mkDerivation rec {
libtiff
icu
pango
opencl-headers
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
Accelerate
CoreGraphics
CoreVideo
];

passthru.updateScript = nix-update-script { };
meta = {
description = "OCR engine";
homepage = "https://github.com/tesseract-ocr/tesseract";
Expand Down

0 comments on commit 63d6fcc

Please sign in to comment.