mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #68836 from Thra11/wacomtablet-kcm
wacomtablet: init at 3.2.0
This commit is contained in:
commit
0b6067f93e
4 changed files with 40 additions and 1 deletions
|
@ -6522,6 +6522,12 @@
|
|||
githubId = 224674;
|
||||
name = "Thomas Pham";
|
||||
};
|
||||
Thra11 = {
|
||||
email = "tahall256@protonmail.ch";
|
||||
github = "Thra11";
|
||||
githubId = 1391883;
|
||||
name = "Tom Hall";
|
||||
};
|
||||
tilpner = {
|
||||
email = "till@hoeppner.ws";
|
||||
github = "tilpner";
|
||||
|
|
|
@ -183,7 +183,8 @@ in
|
|||
++ lib.optional config.hardware.pulseaudio.enable plasma-pa
|
||||
++ lib.optional config.powerManagement.enable powerdevil
|
||||
++ lib.optional config.services.colord.enable colord-kde
|
||||
++ lib.optionals config.services.samba.enable [ kdenetwork-filesharing pkgs.samba ];
|
||||
++ lib.optionals config.services.samba.enable [ kdenetwork-filesharing pkgs.samba ]
|
||||
++ lib.optional config.services.xserver.wacom.enable wacomtablet;
|
||||
|
||||
environment.pathsToLink = [
|
||||
# FIXME: modules should link subdirs of `/share` rather than relying on this
|
||||
|
|
30
pkgs/tools/misc/wacomtablet/default.nix
Normal file
30
pkgs/tools/misc/wacomtablet/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ lib, mkDerivation, fetchurl, extra-cmake-modules, qtx11extras,
|
||||
plasma-workspace, libwacom, xf86_input_wacom
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "wacomtablet";
|
||||
version = "3.2.0";
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/${pname}/${version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "197pwpl87gqlnza36bp68jvw8ww25znk08acmi8bpz7n84xfc368";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [
|
||||
qtx11extras plasma-workspace
|
||||
libwacom xf86_input_wacom
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "KDE Configuration Module for Wacom Graphics Tablets";
|
||||
longDescription = ''
|
||||
This module implements a GUI for the Wacom Linux Drivers and extends it
|
||||
with profile support to handle different button / pen layouts per profile.
|
||||
'';
|
||||
homepage = https://cgit.kde.org/wacomtablet.git/about/;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.Thra11 ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
|
@ -24666,6 +24666,8 @@ in
|
|||
|
||||
vttest = callPackage ../tools/misc/vttest { };
|
||||
|
||||
wacomtablet = libsForQt5.callPackage ../tools/misc/wacomtablet { };
|
||||
|
||||
wasm-pack = callPackage ../development/tools/wasm-pack {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue