2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl
|
2018-12-31 03:40:47 +00:00
|
|
|
, xorgproto, libX11, libXext, libXi, libXrandr, libXrender
|
2021-01-19 06:50:56 +00:00
|
|
|
, ncurses, pkg-config, xorgserver, udev, libXinerama, pixman }:
|
2010-04-11 22:42:28 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-21 13:39:45 +00:00
|
|
|
name = "xf86-input-wacom-0.36.0";
|
2010-04-11 22:42:28 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-08-18 12:52:57 +00:00
|
|
|
url = "mirror://sourceforge/linuxwacom/${name}.tar.bz2";
|
2018-03-21 13:39:45 +00:00
|
|
|
sha256 = "1xi39hl8ddgj9m7m2k2ll2r3wh0k0aq45fvrsv43651bhz9cbrza";
|
2010-04-11 22:42:28 +00:00
|
|
|
};
|
|
|
|
|
2018-12-31 03:40:47 +00:00
|
|
|
buildInputs = [ xorgproto libX11 libXext libXi libXrandr libXrender
|
2021-01-19 06:50:56 +00:00
|
|
|
ncurses pkg-config xorgserver udev libXinerama pixman ];
|
2010-04-11 22:42:28 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/share/X11/xorg.conf.d
|
2011-01-27 21:10:41 +00: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-11 22:42:28 +00:00
|
|
|
'';
|
|
|
|
|
2012-07-16 03:03:23 +00:00
|
|
|
CFLAGS = "-I${pixman}/include/pixman-1";
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-03-27 17:11:17 +00:00
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2010-04-11 22:42:28 +00:00
|
|
|
description = "Wacom digitizer driver for X11";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://linuxwacom.sourceforge.net";
|
2011-02-16 23:37:13 +00:00
|
|
|
license = licenses.gpl2;
|
2010-05-05 18:23:08 +00:00
|
|
|
platforms = platforms.linux; # Probably, works with other unices as well
|
2010-04-11 22:42:28 +00:00
|
|
|
};
|
|
|
|
}
|