@@ -18,11 +18,11 @@
1818
1919stdenv.mkDerivation rec {
2020 pname = "ocrfeeder";
21− version = "0.8.3";
21+ version = "0.8.5";
2222
2323 src = fetchurl {
2424 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
25− sha256 = "12f5gnq92ffnd5zaj04df7jrnsdz1zn4zcgpbf5p9qnd21i2y529";
25+ sha256 = "sha256-sD0qWUndguJzTw0uy0FIqupFf4OX6dTFvcd+Mz+8Su0=";
2626 };
2727
2828 nativeBuildInputs = [
@@ -49,18 +49,13 @@ stdenv.mkDerivation rec {
4949 ]))
5050 ];
5151
52− # https://gitlab.gnome.org/GNOME/ocrfeeder/-/issues/22
53− postConfigure = ''
54− substituteInPlace src/ocrfeeder/util/constants.py \
55− --replace /usr/share/xml/iso-codes ${isocodes}/share/xml/iso-codes
56− '';
57−
5852 enginesPath = lib.makeBinPath ([
5953 tesseract4
6054 ] ++ extraOcrEngines);
6155
6256 preFixup = ''
6357 gappsWrapperArgs+=(--prefix PATH : "${enginesPath}")
58+ gappsWrapperArgs+=(--set ISO_CODES_DIR "${isocodes}/share/xml/iso-codes")
6459 '';
6560
6661 meta = with lib; {
@@ -69,5 +64,7 @@ stdenv.mkDerivation rec {
6964 maintainers = with maintainers; [ doronbehar ];
7065 license = licenses.gpl3Plus;
7166 platforms = platforms.linux;
67+ # Compiles, but doesn't launch, see: https://gitlab.gnome.org/GNOME/ocrfeeder/-/issues/83
68+ broken = true;
7269 };
7370}