1{
2 lib,
3 mkDerivation,
4 cmake,
5 extra-cmake-modules,
6 makeWrapper,
7
8 qtbase,
9 qtquickcontrols2,
10 qtsvg,
11 qtlocation,
12 qtdeclarative,
13 qqc2-desktop-style,
14
15 kirigami2,
16 kirigami-addons,
17 kdbusaddons,
18 ki18n,
19 kcalendarcore,
20 kconfigwidgets,
21 kwindowsystem,
22 kcoreaddons,
23 kcontacts,
24 kitemmodels,
25 kxmlgui,
26 knotifications,
27 kiconthemes,
28 kservice,
29 kmime,
30 kpackage,
31 eventviews,
32 calendarsupport,
33
34 akonadi,
35 akonadi-search,
36 akonadi-contacts,
37 akonadi-calendar-tools,
38 kdepim-runtime,
39 gpgme,
40 pimcommon,
41 mailcommon,
42 messagelib,
43}:
44
45mkDerivation {
46 pname = "merkuro";
47
48 nativeBuildInputs = [
49 cmake
50 extra-cmake-modules
51 makeWrapper
52 ];
53
54 buildInputs = [
55 qtbase
56 qtquickcontrols2
57 qtsvg
58 qtlocation
59 qtdeclarative
60 qqc2-desktop-style
61
62 kirigami2
63 kirigami-addons
64 kdbusaddons
65 ki18n
66 kcalendarcore
67 kconfigwidgets
68 kwindowsystem
69 kcoreaddons
70 kcontacts
71 kitemmodels
72 kxmlgui
73 knotifications
74 kiconthemes
75 kservice
76 kmime
77 kpackage
78 eventviews
79 calendarsupport
80
81 akonadi-search
82 akonadi-contacts
83 akonadi-calendar-tools
84 kdepim-runtime
85
86 gpgme
87 pimcommon
88 mailcommon
89 messagelib
90 ];
91
92 propagatedUserEnvPkgs = [
93 akonadi
94 kdepim-runtime
95 akonadi-search
96 ];
97 qtWrapperArgs = [
98 ''--prefix PATH : "${
99 lib.makeBinPath [
100 akonadi
101 kdepim-runtime
102 akonadi-search
103 ]
104 }"''
105 ];
106
107 meta = with lib; {
108 description = "Calendar application using Akonadi to sync with external services (Nextcloud, GMail, ...)";
109 homepage = "https://invent.kde.org/pim/merkuro";
110 license = licenses.gpl3Plus;
111 maintainers = with maintainers; [ Thra11 ];
112 platforms = platforms.linux;
113 };
114}