571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
39 lines
1.3 KiB
Nix
39 lines
1.3 KiB
Nix
{lib, stdenv, fetchurl, pkg-config, 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 = [ pkg-config ];
|
|
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 different
|
|
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 = lib.licenses.gpl2;
|
|
maintainers = [ lib.maintainers.spinus ];
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "quicksynergy";
|
|
};
|
|
}
|