summary refs log tree commit diff
path: root/pkgs/applications/misc/quicksynergy/default.nix
blob: 1956f0ad41d5ef77259f1350827b0d44fd224564 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{stdenv, fetchurl, pkgconfig, gtk2, synergy}:

stdenv.mkDerivation rec {
  pname = "quicksynergy";
  version = "0.9.0";
  src = fetchurl {
    url = "mirror://sourceforge/project/quicksynergy/Linux/${version}/quicksynergy-${version}.tar.gz";
    sha256 = "1pi8503bg8q1psw50y6d780i33nnvfjqiy9vnr3v52pdcfip8pix";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [
    gtk2
    synergy
  ];
  preBuild = "
    sed -i 's@/usr/bin@${synergy.out}/bin@' src/synergy_config.c
  ";
  meta = {
    description = "GUI application to share mouse and keyboard between computers";
    longDescription = "
      QuickSynergy is a graphical interface (GUI) for easily configuring
      Synergy2, an application that allows the user to share his mouse and
      keyboard between two or more computers.

      Without the need for any external hardware, Synergy2 uses the TCP-IP
      protocol to share the resources, even between machines with diferent
      operating systems, such as Mac OS, Linux and Windows.

      Remember to open port 24800 (used by synergys program) if you want to
      host mouse and keyboard.";
    homepage = "https://sourceforge.net/projects/quicksynergy/";
    license = stdenv.lib.licenses.gpl2;
    maintainers = [ stdenv.lib.maintainers.spinus ];
    platforms = stdenv.lib.platforms.linux;
  };
}