1 { lib, stdenv, buildPythonPackage, fetchPypi, sphinx, setuptools-lint, xlib, evdev }:
3 buildPythonPackage rec {
9 sha256 = "4e50b1a0ab86847e87e58f6d1993688b9a44f9f4c88d4712315ea8eb552ef828";
12 nativeBuildInputs = [ sphinx ];
14 propagatedBuildInputs = [ setuptools-lint xlib ]
15 ++ lib.optionals stdenv.isLinux [
22 description = "A library to control and monitor input devices";
23 homepage = "https://github.com/moses-palmer/pynput";
24 license = licenses.lgpl3;
25 maintainers = with maintainers; [ nickhu ];