summary refs log tree commit diff
path: root/pkgs/development/libraries/geis/default.nix
blob: e8f4001c1b59944acea908fbb9e9b3ca09f60117 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ stdenv, fetchurl
, pkgconfig
, python3
, dbus_libs
, evemu
, frame
, grail
, libX11
, libXext
, libXi
, libXtst
, xorgserver
}:

with stdenv.lib;

stdenv.mkDerivation rec {
  name = "geis-${version}";
  version = "2.2.16";

  src = fetchurl {
    url = "https://launchpad.net/geis/trunk/${version}/+download/${name}.tar.xz";
    sha256 = "40a694092c79f325a2fbf8a9f301177bc91c364f4e637c2aa8963ad2a5aabbcf";
  };

  NIX_CFLAGS_COMPILE = "-Wno-error=pedantic";

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ python3 dbus_libs evemu frame grail libX11 libXext libXi libXtst xorgserver ];

  meta = {
    description = "A library for input gesture recognition";
    homepage = https://launchpad.net/geis;
    license = licenses.gpl2;
    platforms = platforms.linux;
  };
}