Merge pull request #64677 from costrouc/qt-box-editor-init

qt-box-editor: init at unstable-2019-07-12
This commit is contained in:
worldofpeace 2019-07-13 23:57:23 -04:00 committed by GitHub
commit f48c9d428a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ stdenv
, fetchFromGitHub
, qtbase
, qtsvg
, qmake
, leptonica
, tesseract
}:
stdenv.mkDerivation rec {
pname = "qt-box-editor";
version = "unstable-2019-07-12";
src = fetchFromGitHub {
owner = "zdenop";
repo = "qt-box-editor";
rev = "75a68b466868ba41ba2886caa796057403fe1901";
sha256 = "0zwsyy7cnbhy5aazwlkhd9y8bnzlgy1gffqa46abajn4809b95k3";
};
buildInputs = [ qtbase qtsvg leptonica tesseract ];
nativeBuildInputs = [ qmake ];
# remove with next release
# https://github.com/zdenop/qt-box-editor/pull/78
postPatch = ''
printf "INSTALLS += target\ntarget.path = $out/bin" >> qt-box-editor.pro
'';
meta = with stdenv.lib; {
description = "Editor of tesseract-ocr box files";
homepage = https://github.com/zdenop/qt-box-editor;
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
platforms = platforms.all;
};
}

View file

@ -5619,6 +5619,8 @@ in
jack2 = jack2Full;
};
qt-box-editor = libsForQt5.callPackage ../applications/misc/qt-box-editor { };
recutils = callPackage ../tools/misc/recutils { };
recoll = callPackage ../applications/search/recoll { };