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:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,46 @@
{ lib, stdenv
, fetchurl
, qmake4Hook
, qt4
, xorg
}:
stdenv.mkDerivation rec {
pname = "qremotecontrol-server";
version = "2.4.1";
src = fetchurl {
url = "mirror://sourceforge/project/qrc/${version}/qremotecontrol-${version}.tar.bz2";
sha256 = "07hzc9959a56b49jgmcv8ry8b9sppklvqs9kns3qjj3v9d22nbrp";
};
nativeBuildInputs = [ qmake4Hook ];
buildInputs = [ qt4 xorg.libXtst ];
postPatch = ''
substituteInPlace QRemoteControl-Server.pro \
--replace /usr $out
'';
meta = with lib; {
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ fgaz ];
homepage = "https://qremote.org/";
downloadPage = "https://qremote.org/download.php#Download";
description = "Remote control your desktop from your mobile";
longDescription = ''
With QRemoteControl installed on your desktop you can easily control
your computer via WiFi from your mobile. By using the touch pad of your
Phone you can for example open the internet browser and navigate to
the pages you want to visit, use the music player or your media center
without being next to your PC or laptop. Summarizing QRemoteControl
allows you to do almost everything you would be able to do with a
mouse and a keyboard, but from a greater distance. To make these
replacements possible QRemoteControl offers you a touch pad, a
keyboard, multimedia keys and buttons for starting applications. Even
powering on the computer via Wake On Lan is supported.
'';
};
}