From f107623c138a3771a252c6027dc2bff51e76561a Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Tue, 1 Oct 2019 20:08:45 +0200 Subject: [PATCH] qremotecontrol-server: init at 2.4.1 --- .../misc/qremotecontrol-server/default.nix | 46 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 6 ++- 2 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 pkgs/servers/misc/qremotecontrol-server/default.nix diff --git a/pkgs/servers/misc/qremotecontrol-server/default.nix b/pkgs/servers/misc/qremotecontrol-server/default.nix new file mode 100644 index 00000000000..ddf69d10968 --- /dev/null +++ b/pkgs/servers/misc/qremotecontrol-server/default.nix @@ -0,0 +1,46 @@ +{ 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. + ''; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b7308fff8ac..c24e18c4679 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15126,6 +15126,8 @@ in inherit (pythonPackages) buildPythonPackage qpid-python; }; + qremotecontrol-server = callPackage ../servers/misc/qremotecontrol-server { }; + quagga = callPackage ../servers/quagga { }; rabbitmq-server = callPackage ../servers/amqp/rabbitmq-server { @@ -15477,11 +15479,11 @@ in bridge-utils = callPackage ../os-specific/linux/bridge-utils { }; busybox = callPackage ../os-specific/linux/busybox { }; - busybox-sandbox-shell = callPackage ../os-specific/linux/busybox/sandbox-shell.nix { + busybox-sandbox-shell = callPackage ../os-specific/linux/busybox/sandbox-shell.nix { # musl roadmap has RISC-V support projected for 1.1.20 busybox = if !stdenv.hostPlatform.isRiscV && stdenv.hostPlatform.libc != "bionic" then pkgsStatic.busybox - else busybox; + else busybox; }; cachefilesd = callPackage ../os-specific/linux/cachefilesd { };