2023-06-08 18:38:52 +02:00
|
|
|
{ lib, stdenv, libX11, libXtst, libXext, fetchFromGitHub, autoreconfHook, pkg-config, libXi }:
|
2010-05-16 18:23:17 +02:00
|
|
|
|
2021-07-27 19:35:11 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "x2x";
|
2023-06-08 18:38:52 +02:00
|
|
|
version = "unstable-2023-04-30";
|
2010-05-16 18:23:17 +02:00
|
|
|
|
2023-06-08 18:38:52 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dottedmag";
|
|
|
|
repo = pname;
|
|
|
|
rev = "53692798fa0e991e0dd67cdf8e8126158d543d08";
|
|
|
|
hash = "sha256-FUl2z/Yz9uZlUu79LHdsXZ6hAwSlqwFV35N+GYDNvlQ=";
|
2010-05-16 18:23:17 +02:00
|
|
|
};
|
|
|
|
|
2023-06-08 18:38:52 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
buildInputs = [ libX11 libXtst libXext libXi ];
|
2010-05-16 18:23:17 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2013-10-06 11:49:53 +02:00
|
|
|
description = "Allows the keyboard, mouse on one X display to be used to control another X display";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/dottedmag/x2x";
|
2018-09-04 21:55:11 +02:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
2023-11-23 22:09:35 +01:00
|
|
|
mainProgram = "x2x";
|
2010-05-16 18:23:17 +02:00
|
|
|
};
|
|
|
|
}
|