1 { lib, stdenv, fetchurl
10 , gobject-introspection
23 stdenv.mkDerivation rec {
28 url = "https://launchpad.net/geis/trunk/${version}/+download/${pname}-${version}.tar.xz";
29 sha256 = "1svhbjibm448ybq6gnjjzj0ak42srhihssafj0w402aj71lgaq4a";
32 NIX_CFLAGS_COMPILE = "-Wno-error=misleading-indentation -Wno-error=pointer-compare";
34 hardeningDisable = [ "format" ];
36 pythonPath = with python3Packages;
39 nativeBuildInputs = [ pkg-config wrapGAppsHook python3Packages.wrapPython];
40 buildInputs = [ atk dbus evemu frame gdk-pixbuf gobject-introspection grail
41 gtk3 libX11 libXext libXi libXtst pango python3Packages.python xorgserver
45 substituteInPlace python/geis/geis_v2.py --replace \
46 "ctypes.util.find_library(\"geis\")" "'$out/lib/libgeis.so'"
50 buildPythonPath "$out $pythonPath"
51 gappsWrapperArgs+=(--set PYTHONPATH "$program_PYTHONPATH")
55 description = "A library for input gesture recognition";
56 homepage = "https://launchpad.net/geis";
57 license = licenses.gpl2;
58 platforms = platforms.linux;