Files
nixpkgs/pkgs/by-name/xa/xautoclick/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

58 lines
997 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
xorg,
pkg-config,
cmake,
libevdev,
gtkSupport ? true,
gtk3,
pcre,
glib,
wrapGAppsHook3,
fltkSupport ? true,
fltk,
qtSupport ? true,
qt5,
}:
stdenv.mkDerivation rec {
pname = "xautoclick";
version = "0.34";
src = fetchFromGitHub {
owner = "qarkai";
repo = "xautoclick";
rev = "v${version}";
sha256 = "GN3zI5LQnVmRC0KWffzUTHKrxcqnstiL55hopwTTwpE=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
libevdev
xorg.libXtst
]
++ lib.optionals gtkSupport [
gtk3
pcre
glib
wrapGAppsHook3
]
++ lib.optionals fltkSupport [ fltk ]
++ lib.optionals qtSupport [
qt5.qtbase
qt5.wrapQtAppsHook
];
meta = with lib; {
description = "Autoclicker application, which enables you to automatically click the left mousebutton";
homepage = "https://github.com/qarkai/xautoclick";
license = licenses.gpl2;
platforms = platforms.linux;
};
}