1{ stdenv, buildPythonPackage, fetchPypi, sphinx, setuptools-lint, xlib }:
2
3buildPythonPackage rec {
4 pname = "pynput";
5 version = "1.6.8";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "16h4wn7f54rw30jrya7rmqkx3f51pxn8cplid95v880md8yqdhb8";
10 };
11
12 nativeBuildInputs = [ sphinx ];
13
14 propagatedBuildInputs = [ setuptools-lint xlib ];
15
16 doCheck = false;
17
18 meta = with stdenv.lib; {
19 description = "A library to control and monitor input devices";
20 homepage = "https://github.com/moses-palmer/pynput";
21 license = licenses.lgpl3;
22 maintainers = with maintainers; [ nickhu ];
23 };
24}
25