1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5}:
6
7buildPythonPackage {
8 pname = "pyinputevent";
9 version = "2016-10-18";
10 format = "setuptools";
11
12 src = fetchFromGitHub {
13 owner = "ntzrmtthihu777";
14 repo = "pyinputevent";
15 rev = "d2075fa5db5d8a402735fe788bb33cf9fe272a5b";
16 sha256 = "0rkis0xp8f9jc00x7jb9kbvhdla24z1vl30djqa6wy6fx0cr6sib";
17 };
18
19 meta = with lib; {
20 homepage = "https://github.com/ntzrmtthihu777/pyinputevent";
21 description = "Python interface to the Input Subsystem's input_event and uinput";
22 license = licenses.bsd3;
23 platforms = platforms.unix;
24 };
25}