Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchgit, 5 qmake, 6 wrapQtAppsHook, 7 qtbase, 8 xorg, 9}: 10 11stdenv.mkDerivation { 12 pname = "qremotecontrol-server"; 13 version = "unstable-2014-11-05"; # basically 2.4.2 + qt5 14 15 src = fetchgit { 16 url = "https://git.code.sf.net/p/qrc/gitcode"; 17 rev = "8f1c55eac10ac8af974c3c20157d90ef57f7308a"; 18 sha256 = "sha256-AfFScec5/emG/f+yc5Zn37USIEWzGP/sBifE6Kx8d0E="; 19 }; 20 21 patches = [ 22 ./0001-fix-qt5-build-include-QDataStream.patch 23 ]; 24 25 nativeBuildInputs = [ 26 qmake 27 wrapQtAppsHook 28 ]; 29 30 buildInputs = [ 31 qtbase 32 xorg.libXtst 33 ]; 34 35 postPatch = '' 36 substituteInPlace QRemoteControl-Server.pro \ 37 --replace /usr $out 38 ''; 39 40 meta = with lib; { 41 license = licenses.gpl3; 42 platforms = platforms.all; 43 maintainers = with maintainers; [ fgaz ]; 44 homepage = "https://sourceforge.net/projects/qrc/"; 45 description = "Remote control your desktop from your mobile"; 46 mainProgram = "qremotecontrol-server"; 47 longDescription = '' 48 With QRemoteControl installed on your desktop you can easily control 49 your computer via WiFi from your mobile. By using the touch pad of your 50 Phone you can for example open the internet browser and navigate to 51 the pages you want to visit, use the music player or your media center 52 without being next to your PC or laptop. Summarizing QRemoteControl 53 allows you to do almost everything you would be able to do with a 54 mouse and a keyboard, but from a greater distance. To make these 55 replacements possible QRemoteControl offers you a touch pad, a 56 keyboard, multimedia keys and buttons for starting applications. Even 57 powering on the computer via Wake On Lan is supported. 58 ''; 59 # never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs 60 broken = stdenv.hostPlatform.isDarwin; 61 }; 62}