Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
788 B
Nix
43 lines
788 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
libX11,
|
|
libXtst,
|
|
libXext,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
pkg-config,
|
|
libXi,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "x2x";
|
|
version = "unstable-2023-04-30";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dottedmag";
|
|
repo = "x2x";
|
|
rev = "53692798fa0e991e0dd67cdf8e8126158d543d08";
|
|
hash = "sha256-FUl2z/Yz9uZlUu79LHdsXZ6hAwSlqwFV35N+GYDNvlQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
];
|
|
buildInputs = [
|
|
libX11
|
|
libXtst
|
|
libXext
|
|
libXi
|
|
];
|
|
|
|
meta = with lib; {
|
|
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;
|
|
mainProgram = "x2x";
|
|
};
|
|
}
|