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