Skip to content

Instantly share code, notes, and snippets.

@astatide
Created July 1, 2021 07:17
Show Gist options
  • Select an option

  • Save astatide/73649ae9c9e857486cbc454869aaeb3f to your computer and use it in GitHub Desktop.

Select an option

Save astatide/73649ae9c9e857486cbc454869aaeb3f to your computer and use it in GitHub Desktop.
{ stdenv, lib, fetchFromGitHub, systemd, libinput, pugixml, cairo, xorg, gtk3-x11, pcre, pkg-config, cmake }:
stdenv.mkDerivation rec {
pname = "touchegg";
version = "2.0.10";
src = fetchFromGitHub {
owner = "JoseExposito";
repo = pname;
rev = version;
sha256 = "18v3i0wjkhqxjdkw188r7y2bnr9rj37ri5xnkwibs12y14hbs9n6";
};
PKG_CONFIG_SYSTEMD_SYSTEMDSYSTEMUNITDIR = "${placeholder "out"}/lib/systemd/system";
buildInputs = [
systemd
libinput
pugixml
cairo
gtk3-x11
pcre
] ++ (with xorg; [
libX11
libXtst
libXrandr
libXi
libXdmcp
libpthreadstubs
libxcb
]);
nativeBuildInputs = [ pkg-config cmake ];
meta = with lib; {
homepage = "https://github.com/JoseExposito/touchegg";
description = "Linux multi-touch gesture recognizer";
license = licenses.gpl3Plus;
platforms = platforms.linux;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment