7 buildPythonPackage rec {
10 format = "setuptools";
12 src = fetchFromGitHub {
16 hash = "sha256-U4GWhPp28azBE3Jn9xpLxudOKx0PjnYO77EM2HsJ9lM=";
19 pythonImportsCheck = [ "keyboard" ];
21 # Specific OS tests are being run for other OS, like
22 # winmouse on Linux, which provides the following error:
23 # AttributeError: module 'ctypes' has no attribute 'WinDLL'
27 description = "Hook and simulate keyboard events on Windows and Linux";
28 homepage = "https://github.com/boppreh/keyboard";
29 license = licenses.mit;
31 platforms = platforms.linux;