2021-05-28 09:39:13 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, autoreconfHook
|
|
|
|
, fetchFromGitHub
|
|
|
|
, xorgproto
|
|
|
|
, libX11
|
|
|
|
, libXext
|
|
|
|
, libXi
|
|
|
|
, libXinerama
|
|
|
|
, libXrandr
|
|
|
|
, libXrender
|
|
|
|
, ncurses
|
|
|
|
, pixman
|
|
|
|
, pkg-config
|
|
|
|
, udev
|
|
|
|
, utilmacros
|
|
|
|
, xorgserver
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-05-28 09:39:13 +00:00
|
|
|
pname = "xf86-input-wacom";
|
|
|
|
version = "0.40.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxwacom";
|
|
|
|
repo = pname;
|
|
|
|
rev = "${pname}-${version}";
|
|
|
|
sha256 = "sha256-0U4pAB5vsIlBewCBqQ4SLHDrwqtr9nh7knZpXZMkzck=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libX11
|
|
|
|
libXext
|
|
|
|
libXi
|
|
|
|
libXinerama
|
|
|
|
libXrandr
|
|
|
|
libXrender
|
|
|
|
ncurses
|
|
|
|
udev
|
|
|
|
utilmacros
|
|
|
|
pixman
|
|
|
|
xorgproto
|
|
|
|
xorgserver
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-21 07:28:18 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-xorg-module-dir=${placeholder "out"}/lib/xorg/modules"
|
|
|
|
"--with-sdkdir=${placeholder "out"}/include/xorg"
|
|
|
|
"--with-xorg-conf-dir=${placeholder "out"}/share/X11/xorg.conf.d"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-05-28 09:39:13 +00:00
|
|
|
maintainers = with maintainers; [ goibhniu fortuneteller2k ];
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Wacom digitizer driver for X11";
|
|
|
|
homepage = "http://linuxwacom.sourceforge.net";
|
2021-05-28 09:39:13 +00:00
|
|
|
license = licenses.gpl2Only;
|
|
|
|
platforms = platforms.linux; # Probably, works with other unixes as well
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|