1 { stdenv, lib, fetchFromGitHub, fetchpatch, pkg-config, cmake, libinput, zlib }:
3 stdenv.mkDerivation rec {
4 pname = "gebaar-libinput";
7 src = fetchFromGitHub {
8 owner = "Coffee2CodeNL";
11 sha256 = "1kqcgwkia1p195xr082838dvj1gqif9d63i8a52jb0lc32zzizh6";
12 fetchSubmodules = true;
16 # fix build with gcc 11+
18 url = "https://github.com/9ary/gebaar-libinput-fork/commit/25cac08a5f1aed1951b03de12fa0010a0964967d.patch";
19 hash = "sha256-CtgfMTBCXotiPAXc7cA3h+7Kb0NHFi/q7w72IY32CyA=";
23 nativeBuildInputs = [ pkg-config cmake ];
24 buildInputs = [ libinput zlib ];
27 description = "Gebaar, A Super Simple WM Independent Touchpad Gesture Daemon for libinput";
28 mainProgram = "gebaard";
29 homepage = "https://github.com/Coffee2CodeNL/gebaar-libinput";
30 license = licenses.gpl3;
31 platforms = platforms.linux;
32 maintainers = with maintainers; [ colemickens lovesegfault ];