Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 42 lines 788 B view raw
1{ 2 lib, 3 stdenv, 4 libX11, 5 libXtst, 6 libXext, 7 fetchFromGitHub, 8 autoreconfHook, 9 pkg-config, 10 libXi, 11}: 12 13stdenv.mkDerivation { 14 pname = "x2x"; 15 version = "unstable-2023-04-30"; 16 17 src = fetchFromGitHub { 18 owner = "dottedmag"; 19 repo = "x2x"; 20 rev = "53692798fa0e991e0dd67cdf8e8126158d543d08"; 21 hash = "sha256-FUl2z/Yz9uZlUu79LHdsXZ6hAwSlqwFV35N+GYDNvlQ="; 22 }; 23 24 nativeBuildInputs = [ 25 autoreconfHook 26 pkg-config 27 ]; 28 buildInputs = [ 29 libX11 30 libXtst 31 libXext 32 libXi 33 ]; 34 35 meta = with lib; { 36 description = "Allows the keyboard, mouse on one X display to be used to control another X display"; 37 homepage = "https://github.com/dottedmag/x2x"; 38 license = licenses.bsd3; 39 platforms = platforms.linux; 40 mainProgram = "x2x"; 41 }; 42}