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