12 pname = "qt-box-editor";
13 version = "unstable-2019-07-12";
15 src = fetchFromGitHub {
17 repo = "qt-box-editor";
18 rev = "75a68b466868ba41ba2886caa796057403fe1901";
19 sha256 = "0zwsyy7cnbhy5aazwlkhd9y8bnzlgy1gffqa46abajn4809b95k3";
22 buildInputs = [ qtbase qtsvg leptonica tesseract ];
24 nativeBuildInputs = [ qmake ];
26 # remove with next release
27 # https://github.com/zdenop/qt-box-editor/pull/78
29 printf "INSTALLS += target\ntarget.path = $out/bin" >> qt-box-editor.pro
33 description = "Editor of tesseract-ocr box files";
34 homepage = "https://github.com/zdenop/qt-box-editor";
35 license = licenses.asl20;
36 maintainers = [ maintainers.costrouc ];
37 platforms = platforms.all;