diff options
author | Thor A. Hopland <thorhop@gmail.com> | 2015-02-06 06:53:32 +0100 |
---|---|---|
committer | Thor A. Hopland <thorhop@gmail.com> | 2015-02-06 06:53:32 +0100 |
commit | 28b8c50c2dab82447857611f87a704ffb3645fa6 (patch) | |
tree | 4bfc79d9795b06db27187ea9ad14f46e778b1779 /pkgs/development/libraries/grail | |
parent | 934910acdda79970ced54c1c9c961d0e142807d3 (diff) |
Added Touchegg and 3 depdenencies. Touchegg is a daemon for X that adds gesture based navigation for touch based surfaces.
Diffstat (limited to 'pkgs/development/libraries/grail')
-rw-r--r-- | pkgs/development/libraries/grail/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/libraries/grail/default.nix b/pkgs/development/libraries/grail/default.nix new file mode 100644 index 0000000000000..3cf946bb4ba50 --- /dev/null +++ b/pkgs/development/libraries/grail/default.nix @@ -0,0 +1,23 @@ +{ enableX11 ? true, + stdenv, fetchurl, pkgconfig, xlibs, python3, frame }: + +stdenv.mkDerivation rec { + name = "grail-${version}"; + version = "3.1.0"; + src = fetchurl { + url = "https://launchpad.net/grail/trunk/${version}/+download/${name}.tar.bz2"; + sha256 = "c26dced1b3f4317ecf6af36db0e90294d87e43966d56aecc4e97b65368ab78b9"; + }; + + buildInputs = [ pkgconfig python3 frame ] + ++ stdenv.lib.optional enableX11 [xlibs.libX11 xlibs.libXtst xlibs.libXext xlibs.libXi xlibs.libXfixes]; + + configureFlags = stdenv.lib.optional enableX11 "--with-x11"; + + meta = { + homepage = "https://launchpad.net/canonical-multitouch/grail"; + description = "Gesture Recognition And Instantiation Library"; + license = stdenv.lib.licenses.gpl2; + platforms = stdenv.lib.platforms.linux; + }; +} \ No newline at end of file |