f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
26 lines
821 B
Nix
26 lines
821 B
Nix
{ stdenv, fetchurl, xorg, xorgserver, qt4, mesa, geis, qmake4Hook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "touchegg-${version}";
|
|
version = "1.1.1";
|
|
src = fetchurl {
|
|
url = "https://touchegg.googlecode.com/files/${name}.tar.gz";
|
|
sha256 = "95734815c7219d9a71282f3144b3526f2542b4fa270a8e69d644722d024b4038";
|
|
};
|
|
|
|
buildInputs = [ xorgserver mesa xorg.libX11 xorg.libXtst xorg.libXext qt4 geis ];
|
|
|
|
nativeBuildInputs = [ qmake4Hook ];
|
|
|
|
preConfigure = ''
|
|
sed -e "s@/usr/@$out/@g" -i $(find . -name touchegg.pro)
|
|
sed -e "s@/usr/@$out/@g" -i $(find ./src/touchegg/config/ -name Config.cpp)
|
|
'';
|
|
|
|
meta = {
|
|
homepage = https://code.google.com/p/touchegg/;
|
|
description = "Macro binding for touch surfaces";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|