1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
3 stdenv.mkDerivation rec {
4 pname = "libevdevplus";
5 version = "unstable-2021-04-02";
7 # adds missing cmake install directives
8 # https://github.com/YukiWorkshop/libevdevPlus/pull/10
9 patches = [ ./0001-Add-cmake-install-directives.patch];
11 src = fetchFromGitHub {
12 owner = "YukiWorkshop";
13 repo = "libevdevPlus";
14 rev = "b4d4b3143056424a3da9f0516ca02a47209ef757";
15 sha256 = "09y65s16gch0w7fy1s9yjk9gz3bjzxix36h5wmwww6lkj2i1z3rj";
18 nativeBuildInputs = [ cmake pkg-config ];
21 inherit (src.meta) homepage;
22 description = "Easy-to-use event device library in C++";
23 license = licenses.mit;
24 maintainers = with maintainers; [ willibutz ];
25 platforms = with platforms; linux;