2021-05-20 02:14:52 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, autoreconfHook
|
|
|
|
, fetchFromGitHub
|
|
|
|
, xorgproto
|
|
|
|
, libX11
|
|
|
|
, libXext
|
|
|
|
, libXi
|
|
|
|
, libXinerama
|
|
|
|
, libXrandr
|
|
|
|
, libXrender
|
|
|
|
, ncurses
|
|
|
|
, pixman
|
|
|
|
, pkg-config
|
|
|
|
, udev
|
|
|
|
, utilmacros
|
|
|
|
, xorgserver
|
|
|
|
}:
|
2010-04-11 22:42:28 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-05-20 02:14:52 +00:00
|
|
|
pname = "xf86-input-wacom";
|
2022-02-15 04:20:10 +00:00
|
|
|
version = "1.0.0";
|
2010-04-11 22:42:28 +00:00
|
|
|
|
2021-05-20 02:14:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxwacom";
|
|
|
|
repo = pname;
|
|
|
|
rev = "${pname}-${version}";
|
2022-02-15 04:20:10 +00:00
|
|
|
sha256 = "sha256-WitvT1y9KpXJriMr6Z9CrmAQdKPBZ5g9fP2nIgzJzAc=";
|
2010-04-11 22:42:28 +00:00
|
|
|
};
|
|
|
|
|
2021-05-20 02:14:52 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libX11
|
|
|
|
libXext
|
|
|
|
libXi
|
|
|
|
libXinerama
|
|
|
|
libXrandr
|
|
|
|
libXrender
|
|
|
|
ncurses
|
|
|
|
udev
|
|
|
|
utilmacros
|
|
|
|
pixman
|
|
|
|
xorgproto
|
|
|
|
xorgserver
|
|
|
|
];
|
2010-04-11 22:42:28 +00:00
|
|
|
|
2021-07-16 14:27:33 +00:00
|
|
|
configureFlags = [
|
2021-07-16 15:35:02 +00:00
|
|
|
"--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"
|
2021-07-16 14:27:33 +00:00
|
|
|
];
|
2012-07-16 03:03:23 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2021-05-20 02:14:52 +00:00
|
|
|
maintainers = with maintainers; [ goibhniu fortuneteller2k ];
|
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";
|
2021-05-20 02:14:52 +00:00
|
|
|
license = licenses.gpl2Only;
|
|
|
|
platforms = platforms.linux; # Probably, works with other unixes as well
|
2010-04-11 22:42:28 +00:00
|
|
|
};
|
|
|
|
}
|