python3Packages.pynput: fix linux build
This commit is contained in:
parent
ff4c38abd9
commit
72ee790f5d
1 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, sphinx, setuptools-lint, xlib }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, sphinx, setuptools-lint, xlib, evdev }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pynput";
|
||||
|
@ -11,7 +11,10 @@ buildPythonPackage rec {
|
|||
|
||||
nativeBuildInputs = [ sphinx ];
|
||||
|
||||
propagatedBuildInputs = [ setuptools-lint xlib ];
|
||||
propagatedBuildInputs = [ setuptools-lint xlib ]
|
||||
++ stdenv.lib.optionals stdenv.isLinux [
|
||||
evdev
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue