nixpkgs/pkgs/servers/misc/qremotecontrol-server/default.nix
2019-10-01 20:08:45 +02:00

47 lines
1.5 KiB
Nix

{ 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 stdenv.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.
'';
};
}