nixpkgs/pkgs/tools/X11/x2x/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
745 B
Nix
Raw Normal View History

2023-06-08 18:38:52 +02:00
{ lib, stdenv, libX11, libXtst, libXext, fetchFromGitHub, autoreconfHook, pkg-config, libXi }:
stdenv.mkDerivation rec {
pname = "x2x";
2023-06-08 18:38:52 +02:00
version = "unstable-2023-04-30";
2023-06-08 18:38:52 +02:00
src = fetchFromGitHub {
owner = "dottedmag";
repo = pname;
rev = "53692798fa0e991e0dd67cdf8e8126158d543d08";
hash = "sha256-FUl2z/Yz9uZlUu79LHdsXZ6hAwSlqwFV35N+GYDNvlQ=";
};
2023-06-08 18:38:52 +02:00
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";
2018-09-04 21:55:11 +02:00
license = licenses.bsd3;
platforms = platforms.linux;
2023-11-23 22:09:35 +01:00
mainProgram = "x2x";
};
}