1 { lib, stdenv, fetchFromGitHub, xorg, pkg-config
3 , gtkSupport ? true, gtk3, pcre, glib, wrapGAppsHook3
4 , fltkSupport ? true, fltk
5 , qtSupport ? true, qt5
8 stdenv.mkDerivation rec {
12 src = fetchFromGitHub {
16 sha256 = "GN3zI5LQnVmRC0KWffzUTHKrxcqnstiL55hopwTTwpE=";
19 nativeBuildInputs = [ cmake pkg-config ];
20 buildInputs = [ libevdev xorg.libXtst ]
21 ++ lib.optionals gtkSupport [ gtk3 pcre glib wrapGAppsHook3 ]
22 ++ lib.optionals fltkSupport [ fltk ]
23 ++ lib.optionals qtSupport [ qt5.qtbase qt5.wrapQtAppsHook ];
26 description = "Autoclicker application, which enables you to automatically click the left mousebutton";
27 homepage = "https://github.com/qarkai/xautoclick";
28 license = licenses.gpl2;
29 platforms = platforms.linux;