depot/third_party/nixpkgs/pkgs/os-specific/linux/xf86-input-wacom/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

61 lines
1.2 KiB
Nix

{ lib
, stdenv
, autoreconfHook
, fetchFromGitHub
, xorgproto
, libX11
, libXext
, libXi
, libXinerama
, libXrandr
, libXrender
, ncurses
, pixman
, pkg-config
, udev
, utilmacros
, xorgserver
}:
stdenv.mkDerivation rec {
pname = "xf86-input-wacom";
version = "1.1.0";
src = fetchFromGitHub {
owner = "linuxwacom";
repo = pname;
rev = "${pname}-${version}";
sha256 = "sha256-AYjO7B0Z6G1JqpLdvm9LS+ujz7iUp8UwZ9X1WQ/dGk0=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [
libX11
libXext
libXi
libXinerama
libXrandr
libXrender
ncurses
udev
utilmacros
pixman
xorgproto
xorgserver
];
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"
];
meta = with lib; {
maintainers = with maintainers; [ goibhniu fortuneteller2k ];
description = "Wacom digitizer driver for X11";
homepage = "http://linuxwacom.sourceforge.net";
license = licenses.gpl2Only;
platforms = platforms.linux; # Probably, works with other unixes as well
};
}