xp-pen-g430: rename to pentablet-driver

This commit is contained in:
Ivar
2020-05-03 21:53:06 +02:00
parent 5d9e9258de
commit 780b171301
3 changed files with 4 additions and 3 deletions
@@ -0,0 +1,37 @@
{ stdenv, fetchzip, autoPatchelfHook, libusb1, libX11, libXtst, qtbase, wrapQtAppsHook, libglvnd }:
stdenv.mkDerivation rec {
pname = "pentablet-driver";
version = "20190820";
src = fetchzip {
url = "https://download01.xp-pen.com/file/2019/08/Linux%20Beta%20Driver(${version}).zip";
sha256 = "091kfqxxj90pdmwncgfl8ldi70pdhwryh3cls30654983m8cgnby";
} + /Linux_Pentablet_V1.3.0.0.tar.gz;
nativeBuildInputs = [
autoPatchelfHook
wrapQtAppsHook
];
buildInputs = [
libusb1
libX11
libXtst
qtbase
libglvnd
stdenv.cc.cc.lib
];
installPhase = ''
mkdir -p $out/bin
cp {Pentablet_Driver,config.xml} "$out"/bin
'';
meta = with stdenv.lib; {
homepage = "https://www.xp-pen.com/download-46.html";
description = "Driver for XP-PEN Pentablet drawing tablets";
license = licenses.unfree;
platforms = platforms.linux;
maintainers = with maintainers; [ ivar ];
};
}