nixpkgs/pkgs/development/libraries/geis/default.nix
2017-08-25 07:41:02 +01:00

38 lines
799 B
Nix

{ 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.17";
src = fetchurl {
url = "https://launchpad.net/geis/trunk/${version}/+download/${name}.tar.xz";
sha256 = "1svhbjibm448ybq6gnjjzj0ak42srhihssafj0w402aj71lgaq4a";
};
NIX_CFLAGS_COMPILE = "-Wno-format -Wno-misleading-indentation -Wno-error";
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;
};
}