Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 47 lines 1.3 kB view raw
1{ 2 lib, 3 mkDerivation, 4 fetchurl, 5 fetchpatch, 6 extra-cmake-modules, 7 qtx11extras, 8 plasma-workspace, 9 libwacom, 10 xf86_input_wacom, 11}: 12 13mkDerivation rec { 14 pname = "wacomtablet"; 15 version = "3.2.0"; 16 src = fetchurl { 17 url = "mirror://kde/stable/wacomtablet/${version}/wacomtablet-${version}.tar.xz"; 18 sha256 = "197pwpl87gqlnza36bp68jvw8ww25znk08acmi8bpz7n84xfc368"; 19 }; 20 patches = [ 21 (fetchpatch { 22 url = "https://invent.kde.org/system/wacomtablet/commit/4f73ff02b3efd5e8728b18fcf1067eca166704ee.patch"; 23 sha256 = "0185gbh1vywfz8a3wnvncmzdk0dd189my4bzimkbh85rlrqq2nf8"; 24 }) 25 ]; 26 27 nativeBuildInputs = [ extra-cmake-modules ]; 28 buildInputs = [ 29 qtx11extras 30 plasma-workspace 31 libwacom 32 xf86_input_wacom 33 ]; 34 35 meta = { 36 description = "KDE Configuration Module for Wacom Graphics Tablets"; 37 mainProgram = "kde_wacom_tabletfinder"; 38 longDescription = '' 39 This module implements a GUI for the Wacom Linux Drivers and extends it 40 with profile support to handle different button / pen layouts per profile. 41 ''; 42 homepage = "https://invent.kde.org/system/wacomtablet"; 43 license = lib.licenses.gpl2Plus; 44 maintainers = [ lib.maintainers.Thra11 ]; 45 platforms = lib.platforms.linux; 46 }; 47}