2011-01-27 21:19:10 +00:00
|
|
|
{ stdenv, fetchurl,
|
|
|
|
file, inputproto, libX11, libXext, libXi, libXrandr, libXrender,
|
|
|
|
ncurses, pkgconfig, randrproto, xorgserver, xproto }:
|
2010-04-11 23:42:28 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-01-27 21:19:10 +00:00
|
|
|
name = "xf86-input-wacom";
|
|
|
|
version = "0.10.10";
|
2010-04-11 23:42:28 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-01-27 21:19:10 +00:00
|
|
|
url = "mirror://sourceforge/linuxwacom/${name}-${version}.tar.bz2";
|
2011-01-27 21:10:41 +00:00
|
|
|
sha256 = "03yggp2ww64va6gmasl0gy0rbfcyb1zlj9kapp9kvhk2j4458fdr";
|
2010-04-11 23:42:28 +01:00
|
|
|
};
|
|
|
|
|
2011-01-27 21:19:10 +00:00
|
|
|
buildInputs = [ file inputproto libX11 libXext libXi libXrandr libXrender
|
|
|
|
ncurses pkgconfig randrproto xorgserver xproto ];
|
2010-04-11 23:42:28 +01:00
|
|
|
|
|
|
|
preConfigure = ''
|
2011-01-27 21:10:41 +00:00
|
|
|
ensureDir $out/share/X11/xorg.conf.d
|
|
|
|
configureFlags="--with-xorg-module-dir=$out/lib/xorg/modules
|
|
|
|
--with-sdkdir=$out/include/xorg --with-xorg-conf-dir=$out/share/X11/xorg.conf.d"
|
2010-04-11 23:42:28 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
postInstall =
|
|
|
|
''
|
2011-01-27 21:10:41 +00:00
|
|
|
ensureDir $out/lib/udev/rules.d
|
|
|
|
cp ${./10-wacom.rules} $out/lib/udev/rules.d/10-wacom.rules
|
2010-04-11 23:42:28 +01:00
|
|
|
'';
|
|
|
|
|
2010-05-05 19:23:08 +01:00
|
|
|
meta = with stdenv.lib; {
|
2011-02-16 23:37:13 +00:00
|
|
|
maintainers = [ maintainers.goibhniu maintainers.urkud ];
|
2010-04-11 23:42:28 +01:00
|
|
|
description = "Wacom digitizer driver for X11";
|
|
|
|
homepage = http://linuxwacom.sourceforge.net;
|
2011-02-16 23:37:13 +00:00
|
|
|
license = licenses.gpl2;
|
2010-05-05 19:23:08 +01:00
|
|
|
platforms = platforms.linux; # Probably, works with other unices as well
|
2010-04-11 23:42:28 +01:00
|
|
|
};
|
|
|
|
}
|