1 { lib, buildPythonPackage, fetchPypi, linuxHeaders }:
3 buildPythonPackage rec {
9 sha256 = "sha256-7PoBtchPfoxs7TNnrJUoj0PNhO+/1919DNv8DRjIemo=";
12 buildInputs = [ linuxHeaders ];
15 substituteInPlace setup.py --replace /usr/include/linux ${linuxHeaders}/include/linux
21 description = "Provides bindings to the generic input event interface in Linux";
22 homepage = "https://pythonhosted.org/evdev";
23 license = licenses.bsd3;
24 maintainers = with maintainers; [ goibhniu ];
25 platforms = platforms.linux;