2016-01-11 21:42:07 +01:00
|
|
|
{stdenv, fetchurl, pkgconfig, gtk2, synergy}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "quicksynergy-${version}";
|
|
|
|
version = "0.9.0";
|
|
|
|
src = fetchurl {
|
2016-02-28 13:07:42 +01:00
|
|
|
url = "mirror://sourceforge/project/quicksynergy/Linux/${version}/quicksynergy-${version}.tar.gz";
|
2016-01-11 21:42:07 +01:00
|
|
|
sha256 = "1pi8503bg8q1psw50y6d780i33nnvfjqiy9vnr3v52pdcfip8pix";
|
|
|
|
};
|
2017-09-14 21:24:37 +02:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2016-01-11 21:42:07 +01:00
|
|
|
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.";
|
2017-10-27 01:44:19 +02:00
|
|
|
homepage = https://sourceforge.net/projects/quicksynergy/;
|
2016-01-11 21:42:07 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.spinus ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2016-01-11 21:42:07 +01:00
|
|
|
};
|
|
|
|
}
|