1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
2 stdenv.mkDerivation rec {
3 pname = "libuinputplus";
4 version = "2021-04-02";
6 # adds missing cmake install directives
7 # https://github.com/YukiWorkshop/libuInputPlus/pull/7
8 patches = [ ./0001-Add-cmake-install-directives.patch];
10 src = fetchFromGitHub {
11 owner = "YukiWorkshop";
12 repo = "libuInputPlus";
13 rev = "f7f18eb339bba61a43f2cad481a9b1a453a66957";
14 sha256 = "0sind2ghhy4h9kfkr5hsmhcq0di4ifwqyv4gac96rgj5mwvs33lp";
17 nativeBuildInputs = [ cmake pkg-config ];
20 inherit (src.meta) homepage;
21 description = "Easy-to-use uinput library in C++";
22 license = licenses.mit;
23 maintainers = with maintainers; [ willibutz ];
24 platforms = with platforms; linux;