mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
xp-pen-g430: init at 20190820
This commit is contained in:
parent
5fb2a9d8c7
commit
318f05f776
@ -3235,6 +3235,12 @@
|
||||
fingerprint = "7311 2700 AB4F 4CDF C68C F6A5 79C3 C47D C652 EA54";
|
||||
}];
|
||||
};
|
||||
ivar = {
|
||||
email = "ivar.scholten@protonmail.com";
|
||||
github = "IvarWithoutBones";
|
||||
githubId = 41924494;
|
||||
Name = "Ivar";
|
||||
};
|
||||
ivegotasthma = {
|
||||
email = "ivegotasthma@protonmail.com";
|
||||
github = "ivegotasthma";
|
||||
|
37
pkgs/misc/drivers/xp-pen-g430/default.nix
Normal file
37
pkgs/misc/drivers/xp-pen-g430/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
@ -26345,6 +26345,8 @@ in
|
||||
|
||||
bcompare = libsForQt5.callPackage ../applications/version-management/bcompare {};
|
||||
|
||||
xp-pen-g430 = libsForQt5.callPackage ../misc/drivers/xp-pen-g430 {};
|
||||
|
||||
qmk_firmware = callPackage ../development/misc/qmk_firmware {
|
||||
avrgcc = pkgsCross.avr.buildPackages.gcc;
|
||||
avrbinutils = pkgsCross.avr.buildPackages.binutils;
|
||||
|
Loading…
Reference in New Issue
Block a user