1 { lib, stdenv, fetchurl, xorg, xorgserver, qt4, libGLU, libGL, geis, qmake4Hook }:
3 stdenv.mkDerivation rec {
7 url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/touchegg/${pname}-${version}.tar.gz";
8 sha256 = "95734815c7219d9a71282f3144b3526f2542b4fa270a8e69d644722d024b4038";
11 buildInputs = [ xorgserver libGLU libGL xorg.libX11 xorg.libXtst xorg.libXext qt4 geis ];
13 nativeBuildInputs = [ qmake4Hook ];
16 sed -e "s@/usr/@$out/@g" -i $(find . -name touchegg.pro)
17 sed -e "s@/usr/@$out/@g" -i $(find ./src/touchegg/config/ -name Config.cpp)
21 homepage = "https://github.com/JoseExposito/touchegg";
22 description = "Macro binding for touch surfaces";
23 license = lib.licenses.gpl2;
24 platforms = lib.platforms.linux;