2016-07-05 00:51:33 +02:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, pkgconfig
|
|
|
|
, python3
|
|
|
|
, dbus_libs
|
|
|
|
, evemu
|
|
|
|
, frame
|
|
|
|
, grail
|
|
|
|
, libX11
|
|
|
|
, libXext
|
|
|
|
, libXi
|
|
|
|
, libXtst
|
|
|
|
, xorgserver
|
|
|
|
}:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
2015-02-06 06:53:32 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "geis-${version}";
|
2017-03-12 22:25:18 +01:00
|
|
|
version = "2.2.17";
|
2016-07-05 00:51:33 +02:00
|
|
|
|
2015-02-06 06:53:32 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://launchpad.net/geis/trunk/${version}/+download/${name}.tar.xz";
|
2017-03-12 22:25:18 +01:00
|
|
|
sha256 = "1svhbjibm448ybq6gnjjzj0ak42srhihssafj0w402aj71lgaq4a";
|
2015-02-06 06:53:32 +01:00
|
|
|
};
|
|
|
|
|
2017-08-25 08:41:02 +02:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-format -Wno-misleading-indentation -Wno-error";
|
2015-02-06 06:53:32 +01:00
|
|
|
|
2016-07-05 00:51:33 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ python3 dbus_libs evemu frame grail libX11 libXext libXi libXtst xorgserver ];
|
2015-02-06 06:53:32 +01:00
|
|
|
|
|
|
|
meta = {
|
2016-07-05 00:51:33 +02:00
|
|
|
description = "A library for input gesture recognition";
|
|
|
|
homepage = https://launchpad.net/geis;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2015-02-06 06:53:32 +01:00
|
|
|
};
|
2015-04-28 10:54:58 +02:00
|
|
|
}
|