uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
39
pkgs/applications/misc/qt-box-editor/default.nix
Normal file
39
pkgs/applications/misc/qt-box-editor/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ mkDerivation
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, qtbase
|
||||
, qtsvg
|
||||
, qmake
|
||||
, leptonica
|
||||
, tesseract
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
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 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue