Skip to content

Instantly share code, notes, and snippets.

@thorhop
Created February 2, 2015 07:46
Show Gist options
  • Save thorhop/32967fc5982472c6a259 to your computer and use it in GitHub Desktop.
Save thorhop/32967fc5982472c6a259 to your computer and use it in GitHub Desktop.
let
pkgs = import <nixpkgs> {};
in
{ stdenv ? pkgs.stdenv }:
with pkgs;
stdenv.mkDerivation rec {
name = "frame-${version}";
version = "2.5.0";
src = fetchurl {
url = "https://launchpad.net/frame/trunk/v${version}/+download/${name}.tar.xz";
sha256 = "bc2a20cd3ac1e61fe0461bd3ee8cb250dbcc1fa511fad0686d267744e9c78f3a";
};
buildInputs = [ pkgconfig xlibs.libX11 xlibs.xproto xlibs.xinput xlibs.inputproto xlibs.libXext xlibs.xextproto xlibs.xorgserver ];
configurePhase = ''
#./configure --enable-x11 --PREFIX=$out
./configure --prefix=$out
'';
buildPhase = "make";
installPhase = ''
make install
'';
meta = {
homepage = "https://launchpad.net/frame";
description = "handles the buildup and synchronization of a set of simultaneous touches";
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.linux;
};
}
let
pkgs = import <nixpkgs> {};
in
{ stdenv ? pkgs.stdenv }:
with pkgs;
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";
};
buildInputs = [ pkgconfig xlibs.libX11 xlibs.libXtst xlibs.libXext python3 dbus_libs grail ];
configurePhase = "./configure --prefix=$out";
buildPhase = "make";
installPhase = ''
make install INSTALL_ROOT=$out
'';
meta = {
homepage = "https://launchpad.net/geis";
description = "An implementation of the GEIS (Gesture Engine Interface and Support) interface.";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}
let
pkgs = import <nixpkgs> {};
in
{ stdenv ? pkgs.stdenv }:
with pkgs;
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 xlibs.libX11 xlibs.libXtst xlibs.libXext python3 dbus_libs frame ];
configurePhase = ''
./configure --prefix=$out
'';
buildPhase = "make";
installPhase = ''
make install
'';
meta = {
homepage = "https://launchpad.net/canonical-multitouch/grail";
description = "Gesture Recognition And Instantiation Library";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}
let
pkgs = import <nixpkgs> {};
in
{ stdenv ? pkgs.stdenv }:
with pkgs;
stdenv.mkDerivation rec {
name = "touchegg-${version}";
version = "1.1.1";
src = fetchurl {
url = "https://touchegg.googlecode.com/files/${name}.tar.gz";
sha256 = "95734815c7219d9a71282f3144b3526f2542b4fa270a8e69d644722d024b4038";
};
buildInputs = [ xlibs.libX11 xlibs.libXtst xlibs.libXext qt4 ];
configurePhase = "qmake PREFIX=$out";
installPhase = ''
make install INSTALL_ROOT=$out
'';
meta = {
homepage = "https://code.google.com/p/touchegg/";
description = "Macro binding for touch surfaces";
license = stdenv.lib.licenses.gpl2;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment