···11+{ lib22+, buildPythonPackage33+, fetchFromGitHub }:44+55+buildPythonPackage rec {66+ pname = "keyboard";77+ version = "0.13.5";88+99+ src = fetchFromGitHub {1010+ owner = "boppreh";1111+ repo = pname;1212+ rev = "v${version}";1313+ sha256 = "sha256-U4GWhPp28azBE3Jn9xpLxudOKx0PjnYO77EM2HsJ9lM=";1414+ };1515+1616+ pythonImportsCheck = [ "keyboard" ];1717+1818+ # Specific OS tests are being run for other OS, like1919+ # winmouse on Linux, which provides the following error:2020+ # AttributeError: module 'ctypes' has no attribute 'WinDLL'2121+ doCheck = false;2222+2323+ meta = with lib; {2424+ description = "Hook and simulate keyboard events on Windows and Linux";2525+ homepage = "https://github.com/boppreh/keyboard";2626+ license = licenses.mit;2727+ maintainers = with maintainers; [ wolfangaukang ];2828+ platforms = platforms.linux;2929+ };3030+}