summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorTomasz Czyż <tomasz.czyz@gmail.com>2016-01-11 20:42:07 +0000
committerVladimír Čunát <vcunat@gmail.com>2016-01-25 09:30:00 +0100
commit7362936cd6952b24a3ec14f2e961522691892fcf (patch)
tree61baca98caf3f85147e2f65b3fc357d6f9aea2cf /pkgs
parent3e1599f57bbc9a83222ba0cbd91e55f09ce48875 (diff)
downloadnixpkgs-7362936cd6952b24a3ec14f2e961522691892fcf.tar
nixpkgs-7362936cd6952b24a3ec14f2e961522691892fcf.tar.gz
nixpkgs-7362936cd6952b24a3ec14f2e961522691892fcf.tar.bz2
nixpkgs-7362936cd6952b24a3ec14f2e961522691892fcf.tar.lz
nixpkgs-7362936cd6952b24a3ec14f2e961522691892fcf.tar.xz
nixpkgs-7362936cd6952b24a3ec14f2e961522691892fcf.tar.zst
nixpkgs-7362936cd6952b24a3ec14f2e961522691892fcf.zip
quicksynergy: init at 0.9.0 (close #12325)
vcunat moved `version` into the derivation.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/misc/quicksynergy/default.nix35
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/applications/misc/quicksynergy/default.nix b/pkgs/applications/misc/quicksynergy/default.nix
new file mode 100644
index 00000000000..90737a344ca
--- /dev/null
+++ b/pkgs/applications/misc/quicksynergy/default.nix
@@ -0,0 +1,35 @@
+{stdenv, fetchurl, pkgconfig, gtk2, synergy}:
+
+stdenv.mkDerivation rec {
+  name = "quicksynergy-${version}";
+  version = "0.9.0";
+  src = fetchurl {
+    url = "http://downloads.sourceforge.net/project/quicksynergy/Linux/${version}/quicksynergy-${version}.tar.gz";
+    sha256 = "1pi8503bg8q1psw50y6d780i33nnvfjqiy9vnr3v52pdcfip8pix";
+  };
+  buildInputs = [
+    pkgconfig
+    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://code.google.com/p/quicksynergy/;
+    license = stdenv.lib.licenses.gpl2;
+    maintainers = [ stdenv.lib.maintainers.spinus ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 86fb542f08b..1b35d454d23 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -8293,6 +8293,8 @@ let
 
   quesoglc = callPackage ../development/libraries/quesoglc { };
 
+  quicksynergy = callPackage ../applications/misc/quicksynergy { };
+
   qwt = callPackage ../development/libraries/qwt {};
 
   qxt = callPackage ../development/libraries/qxt {};