3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/xautoclick/default.nix

32 lines
924 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, xorg, pkg-config
, cmake, libevdev
, gtkSupport ? true, gtk3, pcre, glib, wrapGAppsHook
, fltkSupport ? true, fltk
, qtSupport ? true, qt5
2016-03-19 20:11:24 +00:00
}:
stdenv.mkDerivation rec {
pname = "xautoclick";
version = "0.34";
src = fetchFromGitHub {
owner = "qarkai";
repo = "xautoclick";
rev = "v${version}";
sha256 = "GN3zI5LQnVmRC0KWffzUTHKrxcqnstiL55hopwTTwpE=";
2016-03-19 20:11:24 +00:00
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libevdev xorg.libXtst ]
2021-01-15 05:42:41 +00:00
++ lib.optionals gtkSupport [ gtk3 pcre glib wrapGAppsHook ]
++ lib.optionals fltkSupport [ fltk ]
++ lib.optionals qtSupport [ qt5.qtbase qt5.wrapQtAppsHook ];
meta = with lib; {
2018-09-01 13:27:45 +01:00
description = "Autoclicker application, which enables you to automatically click the left mousebutton";
homepage = "https://github.com/qarkai/xautoclick";
2018-09-01 13:27:45 +01:00
license = licenses.gpl2;
platforms = platforms.linux;
};
2016-03-19 20:11:24 +00:00
}