mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
pentablet-driver: 20190820 -> 1.2.13.1
This commit is contained in:
parent
780b171301
commit
daf860d9fe
@ -1,16 +1,16 @@
|
|||||||
{ stdenv, fetchzip, autoPatchelfHook, libusb1, libX11, libXtst, qtbase, wrapQtAppsHook, libglvnd }:
|
{ stdenv, mkDerivation, fetchzip, autoPatchelfHook, libusb1, libX11, libXtst, qtbase, libglvnd }:
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
|
mkDerivation rec {
|
||||||
pname = "pentablet-driver";
|
pname = "pentablet-driver";
|
||||||
version = "20190820";
|
version = "1.2.13.1";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://download01.xp-pen.com/file/2019/08/Linux%20Beta%20Driver(${version}).zip";
|
url = "https://download01.xp-pen.com/file/2020/04/Linux_Pentablet_V${version}.tar.gz(20200428).zip";
|
||||||
sha256 = "091kfqxxj90pdmwncgfl8ldi70pdhwryh3cls30654983m8cgnby";
|
sha256 = "1r423hcpi26v82pzl59br1zw5vablikclqsy6mcqi0v5p84hfrdd";
|
||||||
} + /Linux_Pentablet_V1.3.0.0.tar.gz;
|
} + /Linux_Pentablet_V1.2.13.1.tar.gz;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoPatchelfHook
|
autoPatchelfHook
|
||||||
wrapQtAppsHook
|
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -24,14 +24,15 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp {Pentablet_Driver,config.xml} "$out"/bin
|
cp Pentablet_Driver $out/bin/pentablet-driver
|
||||||
|
cp config.xml $out/bin/config.xml
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://www.xp-pen.com/download-46.html";
|
homepage = "https://www.xp-pen.com/download-46.html";
|
||||||
description = "Driver for XP-PEN Pentablet drawing tablets";
|
description = "Driver for XP-PEN Pentablet drawing tablets";
|
||||||
license = licenses.unfree;
|
license = licenses.unfree;
|
||||||
platforms = platforms.linux;
|
platforms = [ "x86_64-linux" ];
|
||||||
maintainers = with maintainers; [ ivar ];
|
maintainers = with maintainers; [ ivar ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user