Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

52 lines
1.1 KiB
Nix

{
stdenv,
lib,
fetchFromGitHub,
fetchpatch,
pkg-config,
cmake,
libinput,
zlib,
}:
stdenv.mkDerivation rec {
pname = "gebaar-libinput";
version = "0.0.5";
src = fetchFromGitHub {
owner = "Coffee2CodeNL";
repo = "gebaar-libinput";
tag = "v${version}";
sha256 = "1kqcgwkia1p195xr082838dvj1gqif9d63i8a52jb0lc32zzizh6";
fetchSubmodules = true;
};
patches = [
# fix build with gcc 11+
(fetchpatch {
url = "https://github.com/9ary/gebaar-libinput-fork/commit/25cac08a5f1aed1951b03de12fa0010a0964967d.patch";
hash = "sha256-CtgfMTBCXotiPAXc7cA3h+7Kb0NHFi/q7w72IY32CyA=";
})
];
nativeBuildInputs = [
pkg-config
cmake
];
buildInputs = [
libinput
zlib
];
meta = with lib; {
description = "Gebaar, A Super Simple WM Independent Touchpad Gesture Daemon for libinput";
mainProgram = "gebaard";
homepage = "https://github.com/Coffee2CodeNL/gebaar-libinput";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [
lovesegfault
];
};
}