nixpkgs/pkgs/by-name/xf/xf86_input_wacom/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

62 lines
1.2 KiB
Nix
Raw Normal View History

{ 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";
2024-10-30 04:18:09 +00:00
version = "1.2.3";
src = fetchFromGitHub {
owner = "linuxwacom";
repo = pname;
rev = "${pname}-${version}";
2024-10-30 04:18:09 +00:00
sha256 = "sha256-0eDik4fhsg1HAL6lCZMll/0VAghpzMSHY0RoKxSOIbc=";
};
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"
];
2012-07-16 03:03:23 +00:00
meta = with lib; {
maintainers = with maintainers; [ moni ];
description = "Wacom digitizer driver for X11";
homepage = "https://linuxwacom.sourceforge.net";
license = licenses.gpl2Only;
platforms = platforms.linux; # Probably, works with other unixes as well
};
}