Merge pull request #86666 from IvarWithoutBones/pentablet-driver
xp-pen-g430: rename to pentablet-driver & 20190820 -> 1.2.13.1
This commit is contained in:
commit
f46cbbc540
4 changed files with 40 additions and 38 deletions
38
pkgs/misc/drivers/pentablet-driver/default.nix
Normal file
38
pkgs/misc/drivers/pentablet-driver/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ stdenv, mkDerivation, fetchzip, autoPatchelfHook, libusb1, libX11, libXtst, qtbase, libglvnd }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "pentablet-driver";
|
||||
version = "1.2.13.1";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://download01.xp-pen.com/file/2020/04/Linux_Pentablet_V${version}.tar.gz(20200428).zip";
|
||||
sha256 = "1r423hcpi26v82pzl59br1zw5vablikclqsy6mcqi0v5p84hfrdd";
|
||||
} + /Linux_Pentablet_V1.2.13.1.tar.gz;
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libusb1
|
||||
libX11
|
||||
libXtst
|
||||
qtbase
|
||||
libglvnd
|
||||
stdenv.cc.cc.lib
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp Pentablet_Driver $out/bin/pentablet-driver
|
||||
cp config.xml $out/bin/config.xml
|
||||
'';
|
||||
|
||||
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 = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ ivar ];
|
||||
};
|
||||
}
|
|
@ -1,37 +0,0 @@
|
|||
{ stdenv, fetchzip, autoPatchelfHook, libusb1, libX11, libXtst, qtbase, wrapQtAppsHook, libglvnd }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xp-pen-G430";
|
||||
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 the XP-PEN G430 drawing tablet";
|
||||
license = licenses.unfree;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ ivar ];
|
||||
};
|
||||
}
|
|
@ -606,6 +606,7 @@ mapAliases ({
|
|||
winswitch = throw "winswitch has been removed from nixpkgs."; # added 2019-12-10
|
||||
wireguard = wireguard-tools; # added 2018-05-19
|
||||
morituri = whipper; # added 2018-09-13
|
||||
xp-pen-g430 = pentablet-driver; # added 2020-05-03
|
||||
xfceUnstable = xfce4-14; # added 2019-09-17
|
||||
xfce4-14 = xfce;
|
||||
xfce4-12 = throw "xfce4-12 has been replaced by xfce4-14"; # added 2020-03-14
|
||||
|
|
|
@ -26401,7 +26401,7 @@ in
|
|||
|
||||
bcompare = libsForQt5.callPackage ../applications/version-management/bcompare {};
|
||||
|
||||
xp-pen-g430 = libsForQt5.callPackage ../misc/drivers/xp-pen-g430 {};
|
||||
pentablet-driver = libsForQt5.callPackage ../misc/drivers/pentablet-driver { };
|
||||
|
||||
qmk_firmware = callPackage ../development/misc/qmk_firmware {
|
||||
avrgcc = pkgsCross.avr.buildPackages.gcc;
|
||||
|
|
Loading…
Reference in a new issue