16 buildPythonPackage rec {
19 format = "setuptools";
21 src = fetchFromGitHub {
24 rev = "5e4acb870f2e7ce0ea1927cc5188bc2f5ab7bbbc";
25 hash = "sha256-R9tcTqxUaqw63FLOGFRaO/Oz6kD7V6MPHdQ8A29NdXw=";
33 xvfb-run python -c 'import pyautogui'
34 # The tests depend on some specific things that xvfb cant provide, like keyboard and mouse
35 # xvfb-run python -m unittest tests.test_pyautogui
39 # https://github.com/asweigart/pyautogui/issues/598
40 ./fix-locateOnWindow-and-xlib.patch
43 propagatedBuildInputs = [
55 description = "PyAutoGUI lets Python control the mouse and keyboard, and other GUI automation tasks";
56 homepage = "https://github.com/asweigart/pyautogui";
57 license = licenses.bsd3;
58 maintainers = with maintainers; [ lucasew ];