1{ stdenv, fetchFromGitHub, cmake, pkgconfig }:
2
3stdenv.mkDerivation rec {
4 pname = "libuinputplus";
5 version = "2019-10-01";
6
7 src = fetchFromGitHub {
8 owner = "YukiWorkshop";
9 repo = "libuInputPlus";
10 rev = "962f180b4cc670e1f5cc73c2e4d5d196ae52d630";
11 sha256 = "0jy5i7bmjad7hw1qcyjl4swqribp2027s9g3609zwj7lj8z5x0bg";
12 };
13
14 nativeBuildInputs = [ cmake pkgconfig ];
15
16 meta = with stdenv.lib; {
17 inherit (src.meta) homepage;
18 description = "Easy-to-use uinput library in C++";
19 license = licenses.mit;
20 maintainers = with maintainers; [ willibutz ];
21 platforms = with platforms; linux;
22 };
23}