2011-08-18 14:52:57 +02:00
|
|
|
{ stdenv, fetchurl
|
2012-08-26 20:38:15 +02:00
|
|
|
, file, inputproto, libX11, libXext, libXi, libXrandr, libXrender, libXinerama
|
2011-08-18 14:52:57 +02:00
|
|
|
, ncurses, pkgconfig, randrproto, xorgserver, xproto, udev }:
|
2010-04-12 00:42:28 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-08-26 20:38:15 +02:00
|
|
|
name = "xf86-input-wacom-0.16.0";
|
2010-04-12 00:42:28 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-08-18 14:52:57 +02:00
|
|
|
url = "mirror://sourceforge/linuxwacom/${name}.tar.bz2";
|
2012-08-26 20:38:15 +02:00
|
|
|
sha256 = "0sc0hmbs3l3ad68iwglbwjv9lg1vd333n1lv72j4nqmk7g57yrii";
|
2010-04-12 00:42:28 +02:00
|
|
|
};
|
|
|
|
|
2012-08-26 20:38:15 +02:00
|
|
|
buildInputs = [ inputproto libX11 libXext libXi libXrandr libXrender libXinerama
|
2011-08-18 14:52:57 +02:00
|
|
|
ncurses pkgconfig randrproto xorgserver xproto udev ];
|
2010-04-12 00:42:28 +02:00
|
|
|
|
|
|
|
preConfigure = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/share/X11/xorg.conf.d
|
2011-01-27 22:10:41 +01:00
|
|
|
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-12 00:42:28 +02:00
|
|
|
'';
|
|
|
|
|
2010-05-05 20:23:08 +02:00
|
|
|
meta = with stdenv.lib; {
|
2011-02-17 00:37:13 +01:00
|
|
|
maintainers = [ maintainers.goibhniu maintainers.urkud ];
|
2010-04-12 00:42:28 +02:00
|
|
|
description = "Wacom digitizer driver for X11";
|
|
|
|
homepage = http://linuxwacom.sourceforge.net;
|
2011-02-17 00:37:13 +01:00
|
|
|
license = licenses.gpl2;
|
2010-05-05 20:23:08 +02:00
|
|
|
platforms = platforms.linux; # Probably, works with other unices as well
|
2010-04-12 00:42:28 +02:00
|
|
|
};
|
|
|
|
}
|