nixpkgs/pkgs/tools/inputmethods/touchegg/default.nix

27 lines
898 B
Nix
Raw Normal View History

2019-11-10 17:44:34 +01:00
{ stdenv, fetchurl, xorg, xorgserver, qt4, libGLU, libGL, geis, qmake4Hook }:
stdenv.mkDerivation rec {
pname = "touchegg";
version = "1.1.1";
src = fetchurl {
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/touchegg/${pname}-${version}.tar.gz";
sha256 = "95734815c7219d9a71282f3144b3526f2542b4fa270a8e69d644722d024b4038";
};
2019-11-10 17:44:34 +01:00
buildInputs = [ xorgserver libGLU libGL xorg.libX11 xorg.libXtst xorg.libXext qt4 geis ];
2016-04-17 01:52:46 +02:00
nativeBuildInputs = [ qmake4Hook ];
preConfigure = ''
sed -e "s@/usr/@$out/@g" -i $(find . -name touchegg.pro)
sed -e "s@/usr/@$out/@g" -i $(find ./src/touchegg/config/ -name Config.cpp)
'';
meta = {
homepage = "https://github.com/JoseExposito/touchegg";
description = "Macro binding for touch surfaces";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
2016-04-17 01:52:46 +02:00
}