xf86_input_wacom: 0.36.0 -> 0.40.0, cleanup
This commit is contained in:
parent
259e3fc46f
commit
6794bb216f
|
@ -1,17 +1,49 @@
|
||||||
{ lib, stdenv, fetchurl
|
{ lib
|
||||||
, xorgproto, libX11, libXext, libXi, libXrandr, libXrender
|
, stdenv
|
||||||
, ncurses, pkg-config, xorgserver, udev, libXinerama, pixman }:
|
, autoreconfHook
|
||||||
|
, fetchFromGitHub
|
||||||
|
, xorgproto
|
||||||
|
, libX11
|
||||||
|
, libXext
|
||||||
|
, libXi
|
||||||
|
, libXinerama
|
||||||
|
, libXrandr
|
||||||
|
, libXrender
|
||||||
|
, ncurses
|
||||||
|
, pixman
|
||||||
|
, pkg-config
|
||||||
|
, udev
|
||||||
|
, utilmacros
|
||||||
|
, xorgserver
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "xf86-input-wacom-0.36.0";
|
pname = "xf86-input-wacom";
|
||||||
|
version = "0.40.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "mirror://sourceforge/linuxwacom/${name}.tar.bz2";
|
owner = "linuxwacom";
|
||||||
sha256 = "1xi39hl8ddgj9m7m2k2ll2r3wh0k0aq45fvrsv43651bhz9cbrza";
|
repo = pname;
|
||||||
|
rev = "${pname}-${version}";
|
||||||
|
sha256 = "sha256-0U4pAB5vsIlBewCBqQ4SLHDrwqtr9nh7knZpXZMkzck=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ xorgproto libX11 libXext libXi libXrandr libXrender
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||||
ncurses pkg-config xorgserver udev libXinerama pixman ];
|
|
||||||
|
buildInputs = [
|
||||||
|
libX11
|
||||||
|
libXext
|
||||||
|
libXi
|
||||||
|
libXinerama
|
||||||
|
libXrandr
|
||||||
|
libXrender
|
||||||
|
ncurses
|
||||||
|
udev
|
||||||
|
utilmacros
|
||||||
|
pixman
|
||||||
|
xorgproto
|
||||||
|
xorgserver
|
||||||
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
mkdir -p $out/share/X11/xorg.conf.d
|
mkdir -p $out/share/X11/xorg.conf.d
|
||||||
|
@ -22,10 +54,10 @@ stdenv.mkDerivation rec {
|
||||||
CFLAGS = "-I${pixman}/include/pixman-1";
|
CFLAGS = "-I${pixman}/include/pixman-1";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
maintainers = [ maintainers.goibhniu ];
|
maintainers = with maintainers; [ goibhniu fortuneteller2k ];
|
||||||
description = "Wacom digitizer driver for X11";
|
description = "Wacom digitizer driver for X11";
|
||||||
homepage = "http://linuxwacom.sourceforge.net";
|
homepage = "http://linuxwacom.sourceforge.net";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Only;
|
||||||
platforms = platforms.linux; # Probably, works with other unices as well
|
platforms = platforms.linux; # Probably, works with other unixes as well
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue