diff options
author | Doron Behar <doron.behar@gmail.com> | 2022-04-01 08:45:47 +0300 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2022-04-01 09:17:30 +0300 |
commit | 2f7dda4450092f9f3019d131784c4c098f30d6a8 (patch) | |
tree | 9e350c0b88563187b3b5cff8f32a29ac09403f9d | |
parent | 3a5df670ef8553575b7648ecf91d758626a48267 (diff) |
ocrfeeder: 0.8.3 -> 0.8.5
-rw-r--r-- | pkgs/applications/graphics/ocrfeeder/default.nix | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/pkgs/applications/graphics/ocrfeeder/default.nix b/pkgs/applications/graphics/ocrfeeder/default.nix index da5f1c5dcc499..7319d4aa84e39 100644 --- a/pkgs/applications/graphics/ocrfeeder/default.nix +++ b/pkgs/applications/graphics/ocrfeeder/default.nix @@ -18,11 +18,11 @@ stdenv.mkDerivation rec { pname = "ocrfeeder"; - version = "0.8.3"; + version = "0.8.5"; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "12f5gnq92ffnd5zaj04df7jrnsdz1zn4zcgpbf5p9qnd21i2y529"; + sha256 = "sha256-sD0qWUndguJzTw0uy0FIqupFf4OX6dTFvcd+Mz+8Su0="; }; nativeBuildInputs = [ @@ -49,18 +49,13 @@ stdenv.mkDerivation rec { ])) ]; - # https://gitlab.gnome.org/GNOME/ocrfeeder/-/issues/22 - postConfigure = '' - substituteInPlace src/ocrfeeder/util/constants.py \ - --replace /usr/share/xml/iso-codes ${isocodes}/share/xml/iso-codes - ''; - enginesPath = lib.makeBinPath ([ tesseract4 ] ++ extraOcrEngines); preFixup = '' gappsWrapperArgs+=(--prefix PATH : "${enginesPath}") + gappsWrapperArgs+=(--set ISO_CODES_DIR "${isocodes}/share/xml/iso-codes") ''; meta = with lib; { |