16 , withPantheon ? false
19 stdenv.mkDerivation rec {
23 src = fetchFromGitHub {
24 owner = "JoseExposito";
27 sha256 = "sha256-he6ERl6ZNWuD5StUqQWsUjeJ35nD0b8KddIAvntqlOI=";
30 patches = lib.optionals withPantheon [
31 # Required for the next patch to apply
32 # Reverts https://github.com/JoseExposito/touchegg/pull/603
34 url = "https://github.com/JoseExposito/touchegg/commit/34e947181d84620021601e7f28deb1983a154da8.patch";
35 sha256 = "sha256-qbWwmEzVXvDAhhrGvMkKN4YNtnFfRW+Yra+i6VEQX4g=";
38 # Disable per-application gesture by default to make sure the default
39 # config does not conflict with Pantheon switchboard settings.
41 url = "https://github.com/elementary/os-patches/commit/7d9b133e02132d7f13cf2fe850b2fe4c015c3c5e.patch";
42 sha256 = "sha256-ZOGVkxiXoTORXC6doz5r9IObAbYjhsDjgg3HtzlTSUc=";
68 PKG_CONFIG_SYSTEMD_SYSTEMDSYSTEMUNITDIR = "${placeholder "out"}/lib/systemd/system";
71 updateScript = nix-update-script { };
75 homepage = "https://github.com/JoseExposito/touchegg";
76 description = "Linux multi-touch gesture recognizer";
77 mainProgram = "touchegg";
78 license = licenses.gpl3Plus;
79 platforms = platforms.linux;
80 maintainers = teams.pantheon.members;