1{
2 mkDerivation,
3 extra-cmake-modules,
4 kcmutils,
5 kconfigwidgets,
6 kdbusaddons,
7 kdoctools,
8 ki18n,
9 kiconthemes,
10 kio,
11 kirigami2,
12 kirigami-addons,
13 knotifications,
14 kpeople,
15 kpeoplevcard,
16 kwayland,
17 lib,
18 libXtst,
19 libfakekey,
20 makeWrapper,
21 modemmanager-qt,
22 pulseaudio-qt,
23 qca-qt5,
24 qqc2-desktop-style,
25 qtgraphicaleffects,
26 qtmultimedia,
27 qtquickcontrols2,
28 qtx11extras,
29 breeze-icons,
30 sshfs,
31 wayland,
32 wayland-protocols,
33 wayland-scanner,
34 plasma-wayland-protocols,
35}:
36
37mkDerivation {
38 pname = "kdeconnect-kde";
39
40 buildInputs = [
41 kcmutils
42 kconfigwidgets
43 kdbusaddons
44 ki18n
45 kiconthemes
46 kio
47 kirigami2
48 kirigami-addons
49 knotifications
50 kpeople
51 kpeoplevcard
52 kwayland
53 libXtst
54 libfakekey
55 modemmanager-qt
56 pulseaudio-qt
57 qca-qt5
58 qqc2-desktop-style
59 qtgraphicaleffects
60 qtmultimedia
61 qtquickcontrols2
62 qtx11extras
63 wayland
64 wayland-protocols
65 wayland-scanner
66 plasma-wayland-protocols
67 # otherwise buttons are blank on non-kde
68 breeze-icons
69 ];
70
71 nativeBuildInputs = [
72 extra-cmake-modules
73 kdoctools
74 makeWrapper
75 ];
76
77 qtWrapperArgs = [
78 "--prefix PATH : ${lib.makeBinPath [ sshfs ]}"
79 ];
80
81 meta = with lib; {
82 description = "KDE Connect provides several features to integrate your phone and your computer";
83 homepage = "https://community.kde.org/KDEConnect";
84 license = with licenses; [ gpl2 ];
85 mainProgram = "kdeconnect-app";
86 };
87}