projects/guix·blob javascript-team · refs

2916 lines · 97.7 KiB

1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2017, 2019, 2020 Hartmut Goebel <[email protected]>
3;;; Copyright © 2020 Marius Bakke <[email protected]>
4;;; Copyright © 2020, 2023-2025 Zheng Junjie <[email protected]>
5;;; Copyright © 2021, 2022 Efraim Flashner <[email protected]>
6;;; Copyright © 2022 Brendan Tildesley <[email protected]>
7;;; Copyright © 2022 Petr Hodina <[email protected]>
8;;; Copyright © 2023-2026 Sughosha <[email protected]>
9;;;
10;;; This file is part of GNU Guix.
11;;;
12;;; GNU Guix is free software; you can redistribute it and/or modify it
13;;; under the terms of the GNU General Public License as published by
14;;; the Free Software Foundation; either version 3 of the License, or (at
15;;; your option) any later version.
16;;;
17;;; GNU Guix is distributed in the hope that it will be useful, but
18;;; WITHOUT ANY WARRANTY; without even the implied warranty of
19;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20;;; GNU General Public License for more details.
21;;;
22;;; You should have received a copy of the GNU General Public License
23;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
24
25(define-module (gnu packages kde-pim)
26 #:use-module (guix build-system cargo)
27 #:use-module (guix build-system cmake)
28 #:use-module (guix build-system qt)
29 #:use-module (guix gexp)
30 #:use-module (guix download)
31 #:use-module (guix gexp)
32 #:use-module (guix git-download)
33 #:use-module ((guix licenses) #:prefix license:)
34 #:use-module (guix packages)
35 #:use-module (guix utils)
36 #:use-module (gnu packages)
37 #:use-module (gnu packages aidc)
38 #:use-module (gnu packages base)
39 #:use-module (gnu packages bison)
40 #:use-module (gnu packages boost)
41 #:use-module (gnu packages calendar)
42 #:use-module (gnu packages cmake)
43 #:use-module (gnu packages compression)
44 #:use-module (gnu packages cpp)
45 #:use-module (gnu packages crypto)
46 #:use-module (gnu packages cyrus-sasl)
47 #:use-module (gnu packages databases)
48 #:use-module (gnu packages documentation)
49 #:use-module (gnu packages compiler-tools)
50 #:use-module (gnu packages freedesktop)
51 #:use-module (gnu packages geo)
52 #:use-module (gnu packages glib)
53 #:use-module (gnu packages gnome)
54 #:use-module (gnu packages gnupg)
55 #:use-module (gnu packages kde-frameworks)
56 #:use-module (gnu packages kde-multimedia)
57 #:use-module (gnu packages kde-plasma)
58 #:use-module (gnu packages kde-graphics)
59 #:use-module (gnu packages markup)
60 #:use-module (gnu packages messaging)
61 #:use-module (gnu packages openldap)
62 #:use-module (gnu packages pdf)
63 #:use-module (gnu packages pkg-config)
64 #:use-module (gnu packages protobuf)
65 #:use-module (gnu packages python)
66 #:use-module (gnu packages qt)
67 #:use-module (gnu packages rsync)
68 #:use-module (gnu packages rust)
69 #:use-module (gnu packages search)
70 #:use-module (gnu packages sqlite)
71 #:use-module (gnu packages gcc)
72 #:use-module (gnu packages tls)
73 #:use-module (gnu packages video)
74 #:use-module (gnu packages wget)
75 #:use-module (gnu packages xdisorg)
76 #:use-module (gnu packages xml))
77
78(define-public kopeninghours
79 (package
80 (name "kopeninghours")
81 (version "26.04.1")
82 (source (origin
83 (method url-fetch)
84 (uri (string-append "mirror://kde/stable/release-service/"
85 version "/src/" name "-" version ".tar.xz"))
86 (sha256
87 (base32
88 "11wbqi86192kdb32zrlhp202n0cnnjjicddc0r7b8h9s3mvwii5k"))))
89 (build-system cmake-build-system)
90 (arguments
91 (list
92 #:configure-flags #~(list "-DBUILD_WITH_QT6=ON")
93 #:phases #~(modify-phases %standard-phases
94 (replace 'check
95 (lambda* (#:key tests? #:allow-other-keys)
96 (when tests?
97 (setenv "QT_QPA_PLATFORM" "offscreen")
98 (invoke "ctest" "-E"
99 "(evaluatetest|iterationtest)")))))))
100 (native-inputs (list bison extra-cmake-modules flex))
101 (inputs (list boost
102 kholidays
103 ki18n
104 osmctools
105 qtbase
106 qtdeclarative))
107 (home-page "https://invent.kde.org/libraries/kopeninghours")
108 (synopsis "Get opening hours from OpenStreetMap")
109 (description
110 "This package provides a library for parsing and evaluating OpenStreetMap
111opening hours expressions.")
112 (license license:lgpl2.0+)))
113
114(define-public kosmindoormap
115 (package
116 (name "kosmindoormap")
117 (version "26.04.1")
118 (source (origin
119 (method url-fetch)
120 (uri (string-append "mirror://kde/stable/release-service/"
121 version "/src/" name "-" version ".tar.xz"))
122 (sha256
123 (base32
124 "0rcp7wk8yim07q3yzr4xs082rx1vpazy09ba2j244nkajls4w4bp"))))
125 (build-system cmake-build-system)
126 ;; As required by the QML modules.
127 (propagated-inputs
128 (list kcontacts
129 kirigami
130 kirigami-addons
131 kopeninghours
132 kpublictransport
133 qtdeclarative))
134 (native-inputs (list bison extra-cmake-modules flex python-minimal))
135 (inputs (list ki18n
136 qtbase
137 libxkbcommon
138 zlib))
139 (home-page "https://invent.kde.org/libraries/kosmindoormap")
140 (synopsis "Indoor map renderer")
141 (description
142 "This package provides facilities for rendering OpenStreetMap
143multi-floor indoor maps.")
144 (license license:lgpl2.0+)))
145
146(define-public grantleetheme
147 (package
148 (name "grantleetheme")
149 (version "26.04.1")
150 (source
151 (origin
152 (method url-fetch)
153 (uri (string-append "mirror://kde/stable/release-service/" version
154 "/src/grantleetheme-" version ".tar.xz"))
155 (sha256
156 (base32 "0kzx4n6gsa6g0p12b8387zc757y2xl3rg12wpb9zmg4jh6nlfm6n"))))
157 (build-system qt-build-system)
158 (arguments (list
159 #:qtbase qtbase
160 #:tests? #f)) ; unexpected error in the test suite.
161 (native-inputs
162 (list extra-cmake-modules libxml2)) ;; xmllint required for tests
163 (inputs
164 (list kguiaddons
165 ki18n
166 kiconthemes
167 knewstuff
168 kxmlgui))
169 (propagated-inputs (list ktexttemplate))
170 (home-page "https://invent.kde.org/pim/grantleetheme")
171 (synopsis "Library providing Grantlee theme support")
172 (description "This library provides Grantlee theme support.")
173 (license ;; LGPL for libraries, FDL for documentation
174 (list license:lgpl2.1+ license:fdl1.2+))))
175
176(define-public akonadi
177 (package
178 (name "akonadi")
179 (version "26.04.1")
180 (source (origin
181 (method url-fetch)
182 (uri (string-append "mirror://kde/stable/release-service/"
183 version "/src/akonadi-" version ".tar.xz"))
184 (sha256
185 (base32
186 "0fj5npjz20mm8b037j3a152ngm5prf6766ghlx59y87lzcdnfphk"))
187 (patches (search-patches "akonadi-paths.patch"
188 "akonadi-timestamps.patch"))))
189 (build-system qt-build-system)
190 (native-inputs
191 (list dbus
192 extra-cmake-modules
193 qttools
194 shared-mime-info
195 pkg-config))
196 (inputs
197 (list boost
198 libaccounts-qt6
199 kcrash
200 ki18n
201 kiconthemes
202 kio
203 kitemviews
204 kwidgetsaddons
205 libxml2
206 libxslt
207 ;; Do NOT add mysql or postgresql to the inputs. Otherwise the binaries
208 ;; and wrapped files will refer to them, even if the user choices none
209 ;; of these. Executables are searched on $PATH then.
210 signond-qt6))
211 (propagated-inputs
212 (list sqlite kaccounts-integration
213 ;; As required by KPim6AkonadiConfig.cmake.
214 kconfig kconfigwidgets kcoreaddons kitemmodels kxmlgui
215 ;; As required by the QML modules.
216 kirigami kirigami-addons qtdeclarative))
217 (arguments
218 (list #:qtbase qtbase
219 #:tests? #f
220 #:test-exclude
221 (string-append "("
222 (string-join '("AkonadiServer-dbconfigtest"
223 "mimetypecheckertest"
224 "entitytreemodeltest"
225 "akonadi-sqlite-testenvironmenttest"
226 "akonadi-sqlite-autoincrementtest"
227 "akonadi-sqlite-attributefactorytest"
228 "akonadi-sqlite-collectionpath\
229resolvertest"
230 "akonadi-sqlite-collectionattribute\
231test" "akonadi-sqlite-itemfetchtest"
232 "akonadi-sqlite-itemappendtest"
233 "akonadi-sqlite-itemstoretest"
234 "akonadi-sqlite-itemdeletetest"
235 "akonadi-sqlite-entitycachetest"
236 "akonadi-sqlite-monitortest"
237 "akonadi-sqlite-changerecordertest"
238 "akonadi-sqlite-resourcetest"
239 "akonadi-sqlite-subscriptiontest"
240 "akonadi-sqlite-transactiontest"
241 "akonadi-sqlite-itemcopytest"
242 "akonadi-sqlite-itemmovetest"
243 "akonadi-sqlite-invalidatecachejob\
244test"
245 "akonadi-sqlite-collectioncreatetest"
246 "akonadi-sqlite-collectioncopytest"
247 "akonadi-sqlite-collectionmovetest"
248 "akonadi-sqlite-collectionsynctest"
249 "akonadi-sqlite-itemsynctest")
250 "|")
251 ")")
252 #:configure-flags #~'("-DDATABASE_BACKEND=SQLITE") ;lightweight
253 #:modules `((ice-9 textual-ports)
254 ,@%qt-build-system-modules)
255 #:phases
256 #~(modify-phases (@ (guix build qt-build-system) %standard-phases)
257 (replace 'check
258 (lambda* (#:key tests? (test-exclude "") #:allow-other-keys)
259 (when tests?
260 (setenv "PATH"
261 (string-append (getcwd) "/bin" ":"
262 (getenv "PATH")))
263 (invoke "dbus-launch" "ctest" "-E" test-exclude))))
264 (add-before 'configure 'add-definitions
265 (lambda* (#:key outputs inputs #:allow-other-keys)
266 (with-output-to-file "CMakeLists.txt.new"
267 (lambda _
268 (display (string-append
269 "add_compile_definitions(\n"
270 "NIX_OUT=\""
271 #$output "\"\n" ")\n\n"))
272 (display (call-with-input-file "CMakeLists.txt"
273 get-string-all))))
274 (rename-file "CMakeLists.txt.new" "CMakeLists.txt"))))))
275 (home-page "https://kontact.kde.org/components/akonadi/")
276 (synopsis "Extensible cross-desktop storage service for PIM")
277 (description
278 "Akonadi is an extensible cross-desktop Personal Information
279Management (PIM) storage service. It provides a common framework for
280applications to store and access mail, calendars, addressbooks, and other PIM
281data.
282
283This package contains the Akonadi PIM storage server and associated
284programs.")
285 (license license:fdl1.2+)))
286
287(define-public akonadi-calendar
288 (package
289 (name "akonadi-calendar")
290 (version "26.04.1")
291 (source
292 (origin
293 (method url-fetch)
294 (uri (string-append "mirror://kde/stable/release-service/" version
295 "/src/akonadi-calendar-" version ".tar.xz"))
296 (sha256
297 (base32 "1xq5fnd7c5nhcvm6xvkil1c109bsb2wix6lgiwmb65ic3inax73q"))))
298 (build-system qt-build-system)
299 (native-inputs
300 (list extra-cmake-modules))
301 (inputs
302 (list akonadi-contacts
303 akonadi-mime
304 boost
305 grantleetheme
306 kcalutils
307 kcodecs
308 kcontacts
309 kcrash
310 kdbusaddons
311 kiconthemes
312 kio
313 kitemmodels
314 kmailtransport
315 kmime
316 kmessagelib
317 knotifications
318 kpimtextedit
319 ksmtp
320 ktextwidgets
321 kxmlgui
322 kwallet))
323 (propagated-inputs (list akonadi
324 kcalendarcore
325 ki18n
326 kwidgetsaddons
327 kidentitymanagement))
328 (arguments
329 (list #:qtbase qtbase
330 #:tests? #f)) ;; TODO: 1/1 test fails
331 (home-page "https://api.kde.org/kdepim/akonadi/html/index.html")
332 (synopsis "Library providing calendar helpers for Akonadi items")
333 (description "This library manages calendar specific actions for
334collection and item views.")
335 (license license:lgpl2.0+)))
336
337(define-public akonadi-contacts
338 (package
339 (name "akonadi-contacts")
340 (version "26.04.1")
341 (source
342 (origin
343 (method url-fetch)
344 (uri (string-append "mirror://kde/stable/release-service/" version
345 "/src/akonadi-contacts-" version ".tar.xz"))
346 (sha256
347 (base32 "0851vb1w40j5ich0wn39lc5bwp4gsrx4gd3mj4765rl40msa4fz6"))))
348 (build-system qt-build-system)
349 (propagated-inputs
350 (list akonadi kcontacts grantleetheme))
351 (native-inputs
352 (list extra-cmake-modules))
353 (inputs
354 (list boost
355 kauth
356 kcmutils
357 kcodecs
358 kcompletion
359 kconfigwidgets
360 kcoreaddons
361 kdbusaddons
362 kguiaddons
363 ki18n
364 kiconthemes
365 kitemmodels
366 kitemviews
367 kjobwidgets
368 kmime
369 kservice
370 ktextwidgets
371 ktexttemplate
372 ktextaddons
373 ktexteditor
374 kwidgetsaddons
375 kxmlgui
376 prison
377 kio
378 solid
379 sonnet))
380 (arguments
381 (list #:qtbase qtbase))
382 (home-page "https://api.kde.org/kdepim/akonadi/html/index.html")
383 (synopsis "Akonadi contacts access library")
384 (description "Akonadi Contacts is a library that effectively bridges the
385type-agnostic API of the Akonadi client libraries and the domain-specific
386KContacts library. It provides jobs, models and other helpers to make working
387with contacts and addressbooks through Akonadi easier.
388
389The library provides a complex dialog for editing contacts and several models
390to list and filter contacts.")
391 (license ;; GPL for programs, LGPL for libraries
392 (list license:gpl2+ license:lgpl2.0+))))
393
394(define-public akonadi-mime
395 (package
396 (name "akonadi-mime")
397 (version "26.04.1")
398 (source
399 (origin
400 (method url-fetch)
401 (uri (string-append "mirror://kde/stable/release-service/" version
402 "/src/akonadi-mime-" version ".tar.xz"))
403 (sha256
404 (base32 "1ghr49sxblf88mr8riq2drxhy933y4bdp0yl9wv1s40ql8abwp2x"))))
405 (build-system qt-build-system)
406 (propagated-inputs (list akonadi))
407 (native-inputs
408 (list extra-cmake-modules libxslt ;; xslt for generating interface descriptions
409 shared-mime-info))
410 (inputs
411 (list boost
412 kcodecs
413 kconfig
414 kconfigwidgets
415 kdbusaddons
416 ki18n
417 kio
418 kitemmodels
419 kmime
420 kwidgetsaddons
421 kxmlgui))
422 (home-page "https://api.kde.org/kdepim/akonadi/html/index.html")
423 (arguments
424 (list
425 #:qtbase qtbase
426 #:phases
427 #~(modify-phases %standard-phases
428 (add-after 'unpack 'copy-desktop-file-early
429 (lambda _
430 (let ((plugins-dir "/tmp/.local/share/akonadi/plugins/serializer"))
431 (mkdir-p plugins-dir)
432 (copy-file "serializers/akonadi_serializer_mail.desktop"
433 (string-append plugins-dir "/akonadi_serializer_mail.desktop")))))
434 (add-before 'check 'check-setup
435 (lambda _
436 (setenv "HOME" "/tmp"))))))
437 (synopsis "Akonadi MIME handling library")
438 (description "Akonadi Mime is a library that effectively bridges the
439type-agnostic API of the Akonadi client libraries and the domain-specific
440KMime library. It provides jobs, models and other helpers to make working
441with emails through Akonadi easier.")
442 (license ;; GPL for programs, LGPL for libraries
443 (list license:gpl2+ license:lgpl2.0+))))
444
445(define-public akonadi-search
446 (package
447 (name "akonadi-search")
448 (version "26.04.1")
449 (source
450 (origin
451 (method url-fetch)
452 (uri (string-append "mirror://kde/stable/release-service/" version
453 "/src/akonadi-search-" version ".tar.xz"))
454 (sha256
455 (base32 "0gsyp50i2hr92z6brn2s26cf8i0q1k4fq28v5wnirdmf9wl40fia"))))
456 (build-system qt-build-system)
457 (propagated-inputs
458 (list akonadi
459 akonadi-mime
460 kcalendarcore
461 kcontacts
462 kcoreaddons
463 kmime))
464 (native-inputs
465 (list extra-cmake-modules
466 ;; For tests.
467 dbus))
468 (inputs
469 (list boost
470 kcmutils
471 kcrash
472 kdbusaddons
473 ktextaddons
474 ki18n
475 kio
476 kitemmodels
477 kxmlgui
478 krunner
479 kwindowsystem
480 xapian-1.4))
481 (arguments
482 (list
483 #:qtbase qtbase
484 ;; FIXME: This test fails because it fails to establish a socket
485 ;; connection, seemingly due to failure during DBus communication. See
486 ;; also 'korganizer'.
487 #:test-exclude "akonadi-sqlite-collectionindexingjobtest"
488 #:phases
489 #~(modify-phases %standard-phases
490 (add-after 'unpack 'disable-failing-test
491 (lambda _
492
493 (substitute* "agent/autotests/CMakeLists.txt"
494 ((".*schedulertest\\.cpp.*")
495 ""))))
496 (replace 'check
497 (lambda* (#:key tests? (test-exclude "") #:allow-other-keys)
498 (when tests?
499 (invoke "dbus-launch" "ctest" "-E" test-exclude)))))))
500 (home-page "https://api.kde.org/kdepim/akonadi/html/index.html")
501 (synopsis "Akonadi search library")
502 (description "This package provides a library used to search in the
503Akonadi PIM data server. It uses Xapian for indexing and querying.")
504 (license ;; GPL for programs, LGPL for libraries
505 (list license:gpl2+ license:lgpl2.0+))))
506
507(define-public akonadi-import-wizard
508 (package
509 (name "akonadi-import-wizard")
510 (version "26.04.1")
511 (source
512 (origin
513 (method url-fetch)
514 (uri (string-append "mirror://kde/stable/release-service/" version
515 "/src/akonadi-import-wizard-" version
516 ".tar.xz"))
517 (sha256
518 (base32 "102ngl7wnf5rmis2jp92j7a0wczzb7r50wmlcrv5rsjcsb748jvs"))))
519 (build-system qt-build-system)
520 (propagated-inputs
521 (list kmailtransport))
522 (arguments
523 (list #:qtbase qtbase
524 #:tests? #f))
525 (native-inputs
526 (list extra-cmake-modules kdoctools))
527 (inputs
528 (list akonadi
529 akonadi-contacts
530 akonadi-mime
531 grantlee
532 grantleetheme
533 karchive
534 kauth
535 kconfig
536 kconfigwidgets
537 kcontacts
538 kcrash
539 kdbusaddons
540 kiconthemes
541 kidentitymanagement
542 kimap
543 kio
544 kitemmodels
545 kmailcommon
546 kmailimporter
547 kmessagelib
548 kmime
549 kpimcommon
550 kpimtextedit
551 ktextaddons
552 ktextwidgets
553 kwallet
554 kxmlgui
555 libkdepim
556 libkleo
557 qtkeychain-qt6
558 qtwebengine))
559 (home-page "https://invent.kde.org/pim/akonadi-import-wizard")
560 (synopsis "Assistant to import external PIM data into Akonadi")
561 (description "Akonadi Data import Wizard is an assistant to import external
562PIM data into Akonadi for use in KDE PIM applications.")
563 (license
564 (list license:gpl2+ license:lgpl2.0+))))
565
566(define-public akregator
567 (package
568 (name "akregator")
569 (version "26.04.1")
570 (source
571 (origin
572 (method url-fetch)
573 (uri (string-append "mirror://kde/stable/release-service/" version
574 "/src/akregator-" version ".tar.xz"))
575 (sha256
576 (base32 "1w3cqf3rfnbm0gaiw55l2v370cic2m3m3ki21vnzh63n0hf0hlv3"))))
577 (build-system qt-build-system)
578 (arguments
579 (list #:qtbase qtbase))
580 (native-inputs
581 (list extra-cmake-modules kdoctools))
582 (inputs
583 (list akonadi
584 akonadi-contacts
585 akonadi-mime
586 boost
587 breeze-icons
588 gpgmepp
589 grantleetheme
590 kcmutils
591 kcontacts
592 kcrash
593 kiconthemes
594 kimap
595 kitemmodels
596 kmessagelib
597 kmime
598 knotifications
599 knotifyconfig
600 kontactinterface
601 kpimcommon
602 kpimtextedit
603 kquickcharts
604 kstatusnotifieritem
605 ktextaddons
606 ktexteditor
607 ktextwidgets
608 kuserfeedback
609 libkdepim
610 libkleo
611 qgpgme
612 qtdeclarative
613 qtwayland
614 qtwebchannel
615 qtwebengine
616 syndication))
617 (home-page "https://apps.kde.org/en/akregator")
618 (synopsis "KDE Feed Reader")
619 (description
620 "Akregator is a news feed reader. It enables you to follow news
621sites, blogs and other RSS/Atom-enabled websites without the need to manually
622check for updates using a web browser. Akregator is designed to be both easy to
623use and to be powerful enough to read hundreds of news sources conveniently.
624It comes with a fast search, advanced archiving functionality and an internal
625browser for easy news reading.")
626 (license license:gpl2+)))
627
628(define-public itinerary
629 (package
630 (name "itinerary")
631 (version "26.04.1")
632 (source (origin
633 (method url-fetch)
634 (uri (string-append "mirror://kde/stable/release-service/"
635 version "/src/" name "-" version ".tar.xz"))
636 (sha256
637 (base32
638 "10wws4nwxz0gv8y9sa91czpvl2s89sjgp9wbr8izjw7xxahq1dpc"))))
639 (build-system qt-build-system)
640 (arguments
641 (list #:qtbase qtbase
642 #:phases
643 #~(modify-phases %standard-phases
644 (add-after 'unpack 'stop-require-qmlmodule
645 (lambda _
646 ;; HACK: ecm_find_qmlmodule cann't find qmlmodule on other
647 ;; prefix, so we remove it require.
648 (substitute* "CMakeLists.txt"
649 (("\\$\\{GEAR_MIN_VERSION\\} REQUIRED")
650 "${GEAR_MIN_VERSION}")))))
651 #:tests? #f)) ;Fails 20/27
652 (native-inputs (list extra-cmake-modules python-minimal))
653 (inputs (list karchive
654 kcalendarcore
655 kcontacts
656 kcoreaddons
657 kcrash
658 kdbusaddons
659 kfilemetadata
660 khealthcertificate
661 kholidays
662 ki18n
663 kio
664 kirigami
665 kirigami-addons
666 kitemmodels
667 kitinerary
668 kmime
669 knotifications
670 kopeninghours
671 kosmindoormap
672 kpkpass
673 kpublictransport
674 kunitconversion
675 kwindowsystem
676 libical
677 libqmatrixclient
678 olm
679 openssl
680 prison
681 qcoro-qt6
682 qqc2-desktop-style
683 qtdeclarative
684 qtkeychain-qt6
685 qtlocation
686 qtmultimedia
687 qtpositioning
688 qtwayland
689 shared-mime-info
690 solid
691 sonnet
692 zlib))
693 (home-page "https://invent.kde.org/pim/itinerary")
694 (synopsis "Boarding pass and itinerary management")
695 (description
696 "This package provides a tool for managing itinerary and boarding pass
697information.")
698 (license ;GPL for programs, LGPL for libraries
699 (list license:gpl2+ license:lgpl2.0+))))
700
701(define-public kincidenceeditor
702 (package
703 (name "kincidenceeditor")
704 (version "26.04.1")
705 (source
706 (origin
707 (method url-fetch)
708 (uri (string-append "mirror://kde/stable/release-service/" version
709 "/src/incidenceeditor-" version ".tar.xz"))
710 (sha256
711 (base32 "0k6r7gsiklwkmr81rwdkbpd95id2kqmg68i0qi4qqcd9md9226s0"))))
712 (properties `((upstream-name . "incidenceeditor")))
713 (build-system qt-build-system)
714 (propagated-inputs
715 (list akonadi-mime kcalendarcore kcalendarsupport keventviews kmime))
716 (native-inputs
717 (list extra-cmake-modules dbus))
718 (inputs
719 (list akonadi
720 akonadi-calendar
721 akonadi-contacts
722 boost
723 grantleetheme
724 kcalutils
725 kcodecs
726 kcontacts
727 kconfigwidgets
728 kdbusaddons
729 kdiagram
730 kguiaddons
731 ki18n
732 kiconthemes
733 kidentitymanagement
734 kimap
735 kio
736 kitemmodels
737 kldap
738 kmailtransport
739 kpimcommon
740 kpimtextedit
741 ktextaddons
742 ktextwidgets
743 kxmlgui
744 kwallet
745 libkdepim))
746 (arguments
747 (list
748 #:qtbase qtbase
749 ;; FIXME: These tests fail.
750 #:test-exclude
751 (string-append "("
752 (string-join '("akonadi-sqlite-incidencedatetimetest"
753 "ktimezonecomboboxtest"
754 "testindividualmaildialog")
755 "|")
756 ")")
757 #:phases
758 #~(modify-phases %standard-phases
759 (replace 'check
760 (lambda* (#:key tests? (test-exclude "") #:allow-other-keys)
761 (when tests?
762 (invoke "dbus-launch" "ctest" "-E" test-exclude)))))))
763 (home-page "https://invent.kde.org/pim/incidenceeditor")
764 (synopsis "KDE PIM library for editing incidences")
765 (description "This library provides an incidence editor for KDE PIM.")
766 (license ;; GPL for programs, LGPL for libraries
767 (list license:gpl2+ license:lgpl2.0+))))
768
769(define-public kaddressbook
770 (package
771 (name "kaddressbook")
772 (version "26.04.1")
773 (source
774 (origin
775 (method url-fetch)
776 (uri (string-append "mirror://kde/stable/release-service/" version
777 "/src/kaddressbook-" version ".tar.xz"))
778 (sha256
779 (base32 "0axa7insp10xlr0ibiyqd5cr424nbap7y2vb98b48c0ayrw6z7qv"))))
780 (build-system qt-build-system)
781 (native-inputs
782 (list extra-cmake-modules kdoctools))
783 (inputs
784 (list akonadi
785 akonadi-contacts
786 akonadi-mime
787 akonadi-search
788 boost
789 gpgmepp
790 grantleetheme
791 kcalendarcore
792 kcmutils
793 kcompletion
794 kcontacts
795 kcrash
796 kdbusaddons
797 ki18n
798 kiconthemes
799 kimap
800 kio
801 kitemmodels
802 kldap
803 kmime
804 kontactinterface
805 kparts
806 kpimcommon
807 kpimtextedit
808 ktextaddons
809 ktextwidgets
810 kxmlgui
811 libkdepim
812 libkleo
813 breeze-icons ; default icon set, required for tests
814 prison
815 qgpgme
816 qtwayland))
817 (arguments
818 (list #:qtbase qtbase
819 #:tests? #f))
820 (home-page "https://kontact.kde.org/components/kaddressbook/")
821 (synopsis "Address Book application to manage your contacts")
822 (description "KAddressBook stores all the personal details of your family,
823friends and other contacts. It supports large variety of services, including
824NextCloud, Kolab, Google Contacts, Microsoft Exchange (EWS) or any standard
825CalDAV server.")
826 (license (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
827
828(define-public kaccounts-integration
829 (package
830 (name "kaccounts-integration")
831 (version "26.04.1")
832 (source (origin
833 (method url-fetch)
834 (uri (string-append "mirror://kde/stable/release-service/"
835 version "/src/" name "-" version ".tar.xz"))
836 (sha256
837 (base32
838 "0ln3qr400bpassc79xnpwnjdqfgmdd75mf0ghgf950npxaf0fjh1"))))
839 (build-system qt-build-system)
840 (propagated-inputs
841 (list kcoreaddons libaccounts-qt6 signond-qt6))
842 (native-inputs (list extra-cmake-modules))
843 (inputs (list kcmutils
844 ki18n
845 kdbusaddons
846 kdeclarative
847 kwallet
848 kio
849 qcoro-qt6))
850 (arguments
851 (list #:qtbase qtbase
852 #:tests? #f))
853 (home-page "https://invent.kde.org/network/kaccounts-integration")
854 (synopsis "Online account management system")
855 (description "The Kaccounts Integration library provides online account
856management system and its Plasma integration components.")
857 (license license:lgpl2.0+)))
858
859(define-public kaccounts-providers
860 (package
861 (name "kaccounts-providers")
862 (version "26.04.1")
863 (source (origin
864 (method url-fetch)
865 (uri (string-append "mirror://kde/stable/release-service/"
866 version "/src/" name "-" version ".tar.xz"))
867 (sha256
868 (base32
869 "1dxr7vkvdq8dx0751rl65rxg9r8lsn4vfk254fgcr49m9phw62ym"))))
870 (build-system qt-build-system)
871 ;; These packages are required by the QML modules.
872 (propagated-inputs
873 (list kaccounts-integration kirigami qtdeclarative qtwebengine))
874 (native-inputs (list extra-cmake-modules intltool))
875 (inputs (list kcoreaddons
876 kdeclarative
877 kpackage
878 ki18n
879 kio
880 libaccounts-qt6
881 qcoro-qt6
882 signond-qt6))
883 (arguments
884 (list #:qtbase qtbase
885 #:tests? #f))
886 (home-page "https://invent.kde.org/network/kaccounts-providers")
887 (synopsis "Online account providers for the KAccounts system")
888 (description "This package provides online account providers for the
889KAccounts system.")
890 (license license:lgpl2.0+)))
891
892(define-public kcalendarsupport
893 (package
894 (name "kcalendarsupport")
895 (version "26.04.1")
896 (source
897 (origin
898 (method url-fetch)
899 (uri (string-append "mirror://kde/stable/release-service/" version
900 "/src/calendarsupport-" version ".tar.xz"))
901 (sha256
902 (base32 "1fgdrjrjm1hg0sl776n97dv7358ygl5wwkr7zp9jj7z7zy9qx4rk"))))
903 (properties `((upstream-name . "calendarsupport")))
904 (build-system qt-build-system)
905 (native-inputs
906 (list extra-cmake-modules qttools))
907 (inputs
908 (list akonadi
909 akonadi-mime
910 boost
911 kcalendarcore
912 kcalutils
913 kcompletion
914 kdbusaddons
915 kguiaddons
916 kholidays
917 ki18n
918 kiconthemes
919 kio
920 kitemmodels
921 kpimcommon
922 kpimtextedit
923 ktextwidgets
924 kxmlgui))
925 (propagated-inputs (list akonadi-calendar kidentitymanagement kmime))
926 (arguments (list #:qtbase qtbase))
927 (home-page "https://api.kde.org/kdepim/calendarsupport/html/index.html")
928 (synopsis "Calendar Support library for KDE PIM")
929 (description "The Calendar Support library provides helper utilities for
930calendaring applications.")
931 (license ;; GPL for programs, LGPL for libraries
932 (list license:gpl2+ license:lgpl2.0+))))
933
934(define-public kcalutils
935 (package
936 (name "kcalutils")
937 (version "26.04.1")
938 (source
939 (origin
940 (method url-fetch)
941 (uri (string-append "mirror://kde/stable/release-service/" version
942 "/src/kcalutils-" version ".tar.xz"))
943 (sha256
944 (base32 "09bpgh61b19dh49dxdd5v80xzx6ya1g32clfm70zfmjf7xc94m5z"))))
945 (build-system qt-build-system)
946 (propagated-inputs
947 (list kcoreaddons kconfig kcalendarcore))
948 (native-inputs
949 (list extra-cmake-modules libxml2)) ;; xmllint required for tests
950 (inputs
951 (list breeze-icons ; default icon set, required for tests
952 kcodecs
953 kconfigwidgets
954 ki18n
955 kiconthemes
956 kidentitymanagement
957 kpimtextedit
958 ktextwidgets
959 ktexttemplate
960 kwidgetsaddons))
961 (arguments
962 (list #:qtbase qtbase
963 #:tests? #f)) ;; TODO: seem to pull in some wrong theme
964 (home-page "https://api.kde.org/kdepim/kcalutils/html/index.html")
965 (synopsis "Library with utility functions for the handling of calendar
966data")
967 (description "This library provides a utility and user interface
968functions for accessing calendar data using the kcalcore API.")
969 (license license:lgpl2.0+)))
970
971(define-public kdepim-addons
972 (package
973 (name "kdepim-addons")
974 (version "26.04.1")
975 (source
976 (origin
977 (method url-fetch)
978 (uri (string-append "mirror://kde/stable/release-service/" version
979 "/src/kdepim-addons-" version ".tar.xz"))
980 (sha256
981 (base32 "1acdi068phbjx0xcb7wimalxnpsdivn99jzl15ax5schp50fdsqw"))
982 ;; Could be removed when updating to release after 26.08
983 (patches (search-patches "kdepim-addons-fix-test.patch"))))
984 (build-system qt-build-system)
985 (arguments
986 (list #:qtbase qtbase
987 #:test-exclude
988 (string-append "("
989 (string-join '("kdepim-addons-todoedittest"
990 "kdepim-addons-eventedittest"
991 "enterpriseheaderstyleplugintest"
992 "fancyheaderstyleplugintest"
993 "grantleeheaderstyleplugintest"
994 "messageviewerplugins-rendertest"
995 "akonadi-sqlite-rendertest-akonadi"
996 "akonadi-sqlite-mailsenderjobtest"
997 "akonadi-sqlite-gravatarupdatewidget\
998test"
999 "eventdatavisitortest" ;FIXME: enable
1000 "pimeventsplugintest" ;FIXME: enable
1001 "messageviewer-dkimauthentication\
1002verifiedserverdialogtest" ;SEGFAULT
1003 "markdowncreateimagewidgettest")
1004 "|")
1005 ")")
1006 #:imported-modules
1007 `(,@%qt-build-system-modules
1008 ,@%cargo-build-system-modules)
1009 #:modules
1010 '(((guix build cargo-build-system) #:prefix cargo:)
1011 (guix build qt-build-system)
1012 (guix build utils))
1013 #:phases
1014 #~(modify-phases %standard-phases
1015 (add-before 'configure 'change-directory-to-adblock
1016 (lambda _
1017 (chdir "plugins/webengineurlinterceptor/adblock")))
1018 (add-after 'change-directory-to-adblock 'unpack-rust-crates
1019 (assoc-ref cargo:%standard-phases 'unpack-rust-crates))
1020 (add-after 'unpack-rust-crates 'configure-adblock
1021 (assoc-ref cargo:%standard-phases 'configure))
1022 (add-after 'configure-adblock 'check-for-pregenerated-files
1023 (assoc-ref cargo:%standard-phases
1024 'check-for-pregenerated-files))
1025 (add-after 'check-for-pregenerated-files 'patch-cargo-checksums
1026 (assoc-ref cargo:%standard-phases 'patch-cargo-checksums))
1027 (add-after 'patch-cargo-checksums 'build-adblock
1028 (assoc-ref cargo:%standard-phases 'build))
1029 (add-after 'build-adblock 'change-directory-back-to-source
1030 (lambda _
1031 (chdir "../../..")))
1032 (replace 'check
1033 (lambda* (#:key tests? (test-exclude "") #:allow-other-keys)
1034 (setenv "HOME" "/tmp")
1035 (when tests?
1036 (invoke "dbus-launch" "ctest" "-E" test-exclude)))))))
1037 ;; These packages are required by the QML modules.
1038 (propagated-inputs
1039 (list kcmutils kirigami kirigami-addons kitemmodels qtdeclarative))
1040 (native-inputs
1041 (list corrosion
1042 dbus
1043 extra-cmake-modules
1044 pkg-config
1045 rust
1046 `(,rust "cargo")
1047 libxml2)) ;libxml2 for xmllint
1048 (inputs
1049 (cons* akonadi
1050 akonadi-calendar
1051 akonadi-contacts
1052 akonadi-import-wizard
1053 akonadi-mime
1054 discount
1055 grantlee
1056 grantleetheme
1057 kaddressbook
1058 karchive
1059 kcalendarcore
1060 kcalendarsupport
1061 kcalutils
1062 kconfig
1063 kcontacts
1064 kdbusaddons
1065 kdeclarative
1066 keventviews
1067 kguiaddons
1068 kholidays
1069 ki18n
1070 kiconthemes
1071 kidentitymanagement
1072 kimap
1073 kincidenceeditor
1074 kio
1075 kitinerary
1076 kldap
1077 kmailcommon
1078 kmailimporter
1079 kmailtransport
1080 kmessagelib
1081 kmime
1082 kparts
1083 kpimcommon
1084 kpimtextedit
1085 kpkpass
1086 ksyntaxhighlighting
1087 ktextaddons
1088 ktnef
1089 kwallet
1090 kxmlgui
1091 libgravatar
1092 libkdepim
1093 libkleo
1094 libksieve
1095 plasma-activities
1096 prison
1097 qtwebengine
1098 (cargo-inputs 'kdepim-addons)))
1099 (home-page "https://invent.kde.org/pim/kdepim-addons")
1100 (synopsis "Add-ons for KDE PIM applications")
1101 (description "This package contains add-ons for KDE PIM applications such
1102as KMail, KAddressBook etc.")
1103 (license
1104 (list license:gpl2+ license:lgpl2.0+))))
1105
1106(define-public kdepim-runtime
1107 (package
1108 (name "kdepim-runtime")
1109 (version "26.04.1")
1110 (source
1111 (origin
1112 (method url-fetch)
1113 (uri (string-append "mirror://kde/stable/release-service/" version
1114 "/src/kdepim-runtime-" version ".tar.xz"))
1115 (sha256
1116 (base32 "1k8bqpdwfl7xbiyvw0abgfyx1xwypd9drbs5nlvdb9mpj8vnij92"))))
1117 (build-system qt-build-system)
1118 (native-inputs
1119 (list extra-cmake-modules dbus kdoctools libxslt shared-mime-info))
1120 (inputs
1121 (list akonadi
1122 akonadi-calendar
1123 akonadi-contacts
1124 akonadi-mime
1125 boost
1126 cyrus-sasl
1127 grantleetheme
1128 kcalendarcore
1129 kcalutils
1130 kcmutils
1131 kcodecs
1132 kconfig
1133 kconfigwidgets
1134 kcontacts
1135 kdav
1136 kholidays
1137 kidentitymanagement
1138 kimap
1139 kio
1140 kitemmodels
1141 kmailtransport
1142 kldap
1143 kmbox
1144 kmime
1145 kxmlgui
1146 knotifications
1147 knotifyconfig
1148 kpimcommon
1149 kpimtextedit
1150 ktextwidgets
1151 kwallet
1152 kwindowsystem
1153 libkdepim
1154 libkgapi
1155 ;; TODO: libkolab
1156 qca-qt6
1157 qtdeclarative
1158 qtkeychain-qt6
1159 qtnetworkauth
1160 qtspeech
1161 qtwebchannel
1162 qtwebengine))
1163 (arguments
1164 ;; TODO: 5/45 tests fail for quite different reasons, even with
1165 ;; "offscreen" and dbus
1166 (list #:qtbase qtbase
1167 ;; FIXME: Atleast some appear to require network.
1168 #:test-exclude
1169 (string-append "("
1170 (string-join '("akonadi-sqlite-icalcategoriestotags\
1171migrationtest"
1172 "akonadi-sqlite-synctest"
1173 "akonadi-sqlite-pop3test"
1174 "storecompacttest"
1175 "akonadi-sqlite-ewstest"
1176 "ewsmoveitemrequest_ut"
1177 "ewsdeleteitemrequest_ut"
1178 "ewsgetitemrequest_ut"
1179 "ewsunsubscriberequest_ut"
1180 "ewssettings_ut"
1181 "templatemethodstest"
1182 "akonadi-sqlite-serverbusytest"
1183 "ewsattachment_ut"
1184 "testmovecollectiontask"
1185 "schedulertest")
1186 "|")
1187 ")")
1188 #:phases
1189 #~(modify-phases %standard-phases
1190 (add-after 'set-paths 'extend-CPLUS_INCLUDE_PATH
1191 (lambda* (#:key inputs #:allow-other-keys)
1192 ;; FIXME: <Akonadi/KMime/SpecialMailCollections> is not
1193 ;; found during one of the compilation steps without
1194 ;; this hack.
1195 (setenv "CPLUS_INCLUDE_PATH"
1196 (string-append (assoc-ref inputs "akonadi-mime")
1197 "/include/KF6:"
1198 (or (getenv "CPLUS_INCLUDE_PATH")
1199 "")))))
1200 (replace 'check
1201 (lambda* (#:key tests? (test-exclude "") #:allow-other-keys)
1202 (when tests?
1203 (invoke "dbus-launch" "ctest" "-E" test-exclude)))))))
1204 (home-page "https://invent.kde.org/pim/kdepim-runtime")
1205 (synopsis "Runtime components for Akonadi KDE")
1206 (description "This package contains Akonadi agents written using KDE
1207Development Platform libraries. Any package that uses Akonadi should probably
1208pull this in as a dependency. The kres-bridges is also parts of this
1209package.")
1210 (license ;; Files vary a lot regarding the license. GPL2+ and LGPL2.1+
1211 ;; have been used in those I checked. But the archive also includes
1212 ;; license texts for GPL3 and AGPL3.
1213 (list license:gpl2+ license:lgpl2.0+))))
1214
1215(define-public keventviews
1216 (package
1217 (name "keventviews")
1218 (version "26.04.1")
1219 (source
1220 (origin
1221 (method url-fetch)
1222 (uri (string-append "mirror://kde/stable/release-service/" version
1223 "/src/eventviews-" version ".tar.xz"))
1224 (sha256
1225 (base32 "0yspc1by345h84ysgq0jrgs3yc73xppy2diinvmprna0pf5vld1v"))))
1226 (properties `((upstream-name . "eventviews")))
1227 (build-system qt-build-system)
1228 (native-inputs
1229 (list extra-cmake-modules qttools))
1230 (inputs
1231 (list akonadi-contacts
1232 boost
1233 kcalendarsupport
1234 kcalutils
1235 kcodecs
1236 kcompletion
1237 kconfigwidgets
1238 kcontacts
1239 kdbusaddons
1240 kdiagram
1241 kguiaddons
1242 kholidays
1243 ki18n
1244 kiconthemes
1245 kidentitymanagement
1246 kio
1247 kitemmodels
1248 kmime
1249 kpimtextedit
1250 kservice
1251 ktextwidgets
1252 kxmlgui
1253 libkdepim))
1254 (propagated-inputs (list akonadi
1255 akonadi-calendar
1256 kcalendarcore
1257 kcalendarsupport))
1258 (arguments (list #:qtbase qtbase))
1259 (home-page "https://invent.kde.org/pim/eventviews")
1260 (synopsis "KDE PIM library for creating events")
1261 (description "This library provides an event creator for KDE PIM.")
1262 (license ;; GPL for programs, LGPL for libraries
1263 (list license:gpl2+ license:lgpl2.0+))))
1264
1265(define-public kgpg
1266 (package
1267 (name "kgpg")
1268 (version "26.04.1")
1269 (source
1270 (origin
1271 (method url-fetch)
1272 (uri (string-append "mirror://kde/stable/release-service/" version
1273 "/src/kgpg-" version ".tar.xz"))
1274 (sha256
1275 (base32 "0138h096g21pfgscg7anpn0ww5r67cqpa1scrs5j50rykxdz7nml"))))
1276 (build-system qt-build-system)
1277 (arguments
1278 (list #:qtbase qtbase
1279 #:phases
1280 #~(modify-phases %standard-phases
1281 (replace 'check
1282 (lambda* (#:key tests? #:allow-other-keys)
1283 (when tests?
1284 (setenv "HOME" (getcwd))
1285 (invoke "ctest")))))
1286 ;; XXX: Tests could fail randomly with:
1287 ;; gpg: can't connect to the agent: IPC connect call failed
1288 ;; gpg process did not finish. Cannot generate a new key pair.
1289 #:tests? #f))
1290 (native-inputs
1291 (list extra-cmake-modules
1292 gnupg ;; TODO: Remove after gpgme uses fixed path
1293 kdoctools
1294 pkg-config))
1295 (inputs
1296 (list akonadi
1297 akonadi-contacts
1298 boost
1299 breeze-icons ;; default icon set
1300 gpgme
1301 grantleetheme
1302 karchive
1303 kcodecs
1304 kcontacts
1305 kcoreaddons
1306 kcrash
1307 kdbusaddons
1308 ki18n
1309 kiconthemes
1310 kio
1311 kitemmodels
1312 kjobwidgets
1313 knotifications
1314 kservice
1315 kstatusnotifieritem
1316 ktextwidgets
1317 kwidgetsaddons
1318 kwindowsystem
1319 kxmlgui
1320 qtwayland))
1321 (home-page "https://apps.kde.org/kgpg/")
1322 (synopsis "Graphical front end for GNU Privacy Guard")
1323 (description "Kgpg manages cryptographic keys for the GNU Privacy Guard,
1324and can encrypt, decrypt, sign, and verify files. It features a simple editor
1325for applying cryptography to short pieces of text, and can also quickly apply
1326cryptography to the contents of the clipboard.")
1327 (license license:gpl2+)))
1328
1329(define-public khealthcertificate
1330 (package
1331 (name "khealthcertificate")
1332 (version "26.04.1")
1333 (source (origin
1334 (method url-fetch)
1335 (uri (string-append "mirror://kde/stable/release-service/" version
1336 "/src/khealthcertificate-" version ".tar.xz"))
1337 (sha256
1338 (base32
1339 "1h9kgclzp7pvn8v2hnljh5c7glani3y6qihrj2lkb3g7j3pknawd"))))
1340 (build-system qt-build-system)
1341 (arguments
1342 (list
1343 #:qtbase qtbase
1344 #:test-exclude
1345 (string-append "("
1346 (string-join '("icaovdsparsertest"
1347 "eudgcparsertest")
1348 "|")
1349 ")")
1350 #:phases
1351 #~(modify-phases %standard-phases
1352 (replace 'check
1353 (lambda* (#:key inputs tests? (test-exclude "") #:allow-other-keys)
1354 (when tests?
1355 (setenv "TZDIR"
1356 (search-input-directory inputs "share/zoneinfo"))
1357 (invoke "ctest" "-E" test-exclude)))))))
1358 (native-inputs (list extra-cmake-modules pkg-config tzdata-for-tests))
1359 (inputs (list karchive
1360 kcodecs
1361 ki18n
1362 openssl
1363 qtdeclarative
1364 zlib))
1365 (home-page "https://api.kde.org/khealthcertificate/html/index.html")
1366 (synopsis "Digital vaccination and recovery certificate library")
1367 (description
1368 "This package provides a library for arsing of digital vaccination,
1369test and recovery certificates.")
1370 (license license:lgpl2.0)))
1371
1372(define-public kidentitymanagement
1373 (package
1374 (name "kidentitymanagement")
1375 (version "26.04.1")
1376 (source
1377 (origin
1378 (method url-fetch)
1379 (uri (string-append "mirror://kde/stable/release-service/" version
1380 "/src/kidentitymanagement-" version ".tar.xz"))
1381 (sha256
1382 (base32 "142mzv5r3fss4939j91lnc8av3nkcl1wg43zsb4lfkmk5dda74sf"))))
1383 (build-system qt-build-system)
1384 (propagated-inputs
1385 (list ;; As required by KPim6IdentityManagementCoreConfig.cmake.
1386 kcoreaddons kpimtextedit
1387 ;; As required by the QML modules.
1388 kirigami kirigami-addons qtdeclarative))
1389 (native-inputs
1390 (list extra-cmake-modules))
1391 (inputs
1392 (list kcodecs
1393 kcompletion
1394 kconfig
1395 kiconthemes
1396 kio
1397 ktextwidgets
1398 ktextaddons
1399 kxmlgui))
1400 (arguments
1401 (list #:qtbase qtbase
1402 #:phases
1403 #~(modify-phases %standard-phases
1404 (add-before 'check 'set-home
1405 (lambda _
1406 (setenv "HOME" "/tmp/dummy-home")))))) ;; FIXME: what is this?
1407 (home-page "https://kontact.kde.org/")
1408 (synopsis "Library for shared identities between mail applications")
1409 (description "This library provides an API for managing user identities.")
1410 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
1411 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
1412
1413(define-public kimap
1414 (package
1415 (name "kimap")
1416 (version "26.04.1")
1417 (source
1418 (origin
1419 (method url-fetch)
1420 (uri (string-append "mirror://kde/stable/release-service/" version
1421 "/src/kimap-" version ".tar.xz"))
1422 (sha256
1423 (base32 "1a3mj2fpinpfdrb60y4shmdczj3j3hda2w0wcs6d86rz9f9lrg1p"))))
1424 (build-system qt-build-system)
1425 (propagated-inputs
1426 (list kcoreaddons kmime))
1427 (native-inputs
1428 (list extra-cmake-modules))
1429 (inputs
1430 (list cyrus-sasl
1431 kcodecs
1432 ki18n
1433 kio))
1434 (arguments (list #:qtbase qtbase))
1435 (home-page "https://api.kde.org/kdepim/kimap/html/index.html")
1436 (synopsis "Library for handling IMAP")
1437 (description "This library provides a job-based API for interacting with
1438an IMAP4rev1 server. It manages connections, encryption and parameter quoting
1439and encoding, but otherwise provides quite a low-level interface to the
1440protocol. This library does not implement an IMAP client; it merely makes it
1441easier to do so.")
1442 (license ;; GPL for programs, LGPL for libraries
1443 (list license:gpl2+ license:lgpl2.0+))))
1444
1445(define-public kitinerary
1446 (package
1447 (name "kitinerary")
1448 (version "26.04.1")
1449 (source (origin
1450 (method url-fetch)
1451 (uri (string-append "mirror://kde/stable/release-service/"
1452 version "/src/kitinerary-" version ".tar.xz"))
1453 (sha256
1454 (base32
1455 "1bajnx3h487s48gsgbkm23j89bw3xj5vq87f62bkcgc1vrkdq6jx"))
1456 (patches (search-patches "kitinerary-poppler-26.06.patch"
1457 "kitinerary-poppler-26.08.patch"
1458 "kitinerary-add-missing-include.patch"))))
1459 (build-system qt-build-system)
1460 (arguments
1461 (list #:qtbase qtbase
1462 #:test-exclude
1463 (string-append "("
1464 (string-join '("jsonlddocumenttest"
1465 "mergeutiltest"
1466 "locationutiltest"
1467 "knowledgedbtest"
1468 "airportdbtest"
1469 "extractorscriptenginetest"
1470 "pkpassextractortest"
1471 "postprocessortest"
1472 "calendarhandlertest"
1473 "extractortest")
1474 "|")
1475 ")")
1476 #:phases
1477 #~(modify-phases %standard-phases
1478 (replace 'check
1479 (lambda* (#:key inputs tests? (test-exclude "")
1480 #:allow-other-keys)
1481 (when tests?
1482 (setenv "TZDIR"
1483 (search-input-directory inputs "share/zoneinfo"))
1484 (invoke "dbus-launch" "ctest" "-E" test-exclude)))))))
1485 (propagated-inputs (list kcalendarcore kcontacts kmime kpkpass))
1486 (native-inputs (list dbus extra-cmake-modules tzdata-for-tests))
1487 (inputs (list karchive
1488 kcoreaddons
1489 ki18n
1490 knotifications
1491 libphonenumber
1492 libxml2
1493 openssl
1494 osmctools
1495 poppler
1496 qtdeclarative
1497 qtkeychain-qt6
1498 shared-mime-info
1499 zlib
1500 zxing-cpp
1501
1502 ;; Required by libphonenumber
1503 abseil-cpp
1504 boost-1.83
1505 protobuf
1506
1507 ;; Required by osmctools
1508 rsync
1509 wget))
1510 (home-page "https://apps.kde.org/itinerary/")
1511 (synopsis
1512 "Data Model and Extraction System for Travel Reservation information")
1513 (description "This package provides a library containing itinerary data
1514model and itinerary extraction code.")
1515 (license license:lgpl2.0)))
1516
1517(define-public kldap
1518 (package
1519 (name "kldap")
1520 (version "26.04.1")
1521 (source
1522 (origin
1523 (method url-fetch)
1524 (uri (string-append "mirror://kde/stable/release-service/" version
1525 "/src/kldap-" version ".tar.xz"))
1526 (sha256
1527 (base32 "0nfwqckwawkq7qlbm1b7xvi9d4pp7kwg20kmzh6rqbdirdicwqsa"))))
1528 (build-system qt-build-system)
1529 (native-inputs
1530 (list extra-cmake-modules kdoctools))
1531 (inputs
1532 (list ki18n kio kwidgetsaddons qtkeychain-qt6))
1533 (propagated-inputs
1534 (list cyrus-sasl openldap))
1535 (arguments (list #:qtbase qtbase))
1536 (home-page "https://api.kde.org/kdepim/kldap/html/index.html")
1537 (synopsis "Library for accessing LDAP")
1538 (description "This is a library for accessing LDAP with a convenient Qt
1539style C++ API. LDAP (Lightweight Directory Access Protocol) is an application
1540protocol for querying and modifying directory services running over TCP/IP.")
1541 (license license:lgpl2.0+)))
1542
1543(define-public kleopatra
1544 (package
1545 (name "kleopatra")
1546 (version "26.04.1")
1547 (source
1548 (origin
1549 (method url-fetch)
1550 (uri (string-append "mirror://kde/stable/release-service/" version
1551 "/src/kleopatra-" version ".tar.xz"))
1552 (sha256
1553 (base32 "0pald72540z9rnnrhgmxsx27xgwmc45i0whjs74bih5ck8ggzw9v"))))
1554 (build-system qt-build-system)
1555 (native-inputs
1556 (list dbus extra-cmake-modules gnupg ;; TODO: Remove after gpgme uses fixed path
1557 kdoctools))
1558 (inputs
1559 (list boost
1560 gpgmepp
1561 kcmutils
1562 kcodecs
1563 kconfig
1564 kconfigwidgets
1565 kcoreaddons
1566 kcrash
1567 kdbusaddons
1568 kguiaddons
1569 ki18n
1570 kio
1571 kiconthemes
1572 kitemmodels
1573 kmime
1574 knotifications
1575 ktextwidgets
1576 kstatusnotifieritem
1577 kwidgetsaddons
1578 kwindowsystem
1579 kxmlgui
1580 libassuan
1581 libkleo
1582 mimetreeparser
1583 breeze-icons ;; default icon set
1584 qgpgme
1585 qtwayland))
1586 (arguments
1587 (list #:qtbase qtbase
1588 #:phases
1589 #~(modify-phases %standard-phases
1590 (replace 'check
1591 (lambda* (#:key tests? #:allow-other-keys)
1592 (when tests?
1593 (invoke "dbus-launch" "ctest")))))))
1594 (home-page "https://apps.kde.org/kleopatra/")
1595 (synopsis "Certificate Manager and Unified Crypto GUI")
1596 (description "Kleopatra is a certificate manager and a universal crypto
1597GUI. It supports managing X.509 and OpenPGP certificates in the GpgSM keybox
1598and retrieving certificates from LDAP servers.")
1599 (license ;; GPL for programs, FDL for documentation
1600 (list license:gpl2+ license:fdl1.2+))))
1601
1602(define-public kmail
1603 (package
1604 (name "kmail")
1605 (version "26.04.1")
1606 (source
1607 (origin
1608 (method url-fetch)
1609 (uri (string-append "mirror://kde/stable/release-service/" version
1610 "/src/kmail-" version ".tar.xz"))
1611 (sha256
1612 (base32 "05x2nrq41xzbhhfn7d5pd4v88vabb96nraqlbln33w6q33yw7f55"))))
1613 (build-system qt-build-system)
1614 (native-inputs
1615 (list extra-cmake-modules dbus kdoctools))
1616 (inputs
1617 (list akonadi
1618 akonadi-contacts
1619 akonadi-mime
1620 akonadi-search
1621 boost
1622 gpgmepp
1623 grantleetheme
1624 kaddressbook
1625 kbookmarks
1626 kcalendarcore
1627 kcalutils
1628 kcmutils
1629 kcodecs
1630 kconfig
1631 kconfigwidgets
1632 kcontacts
1633 kcrash
1634 kdbusaddons
1635 kguiaddons
1636 ki18n
1637 kiconthemes
1638 kidentitymanagement
1639 kimap
1640 kio
1641 kitemmodels
1642 kitemviews
1643 kjobwidgets
1644 kldap
1645 kmail-account-wizard
1646 kmailcommon
1647 kmailtransport
1648 kmessagelib
1649 kmime
1650 knotifications
1651 knotifyconfig
1652 kontactinterface
1653 kparts
1654 kpimcommon
1655 kpimtextedit
1656 kservice
1657 kstatusnotifieritem
1658 ksyntaxhighlighting
1659 ktextaddons
1660 ktextwidgets
1661 kuserfeedback
1662 ktnef
1663 kwallet
1664 kwidgetsaddons
1665 kwindowsystem
1666 kxmlgui
1667 libgravatar
1668 libkdepim
1669 libkleo
1670 libksieve
1671 breeze-icons ; default icon set, required for tests
1672 qgpgme
1673 qtdeclarative
1674 qtkeychain-qt6
1675 qtwayland
1676 qtwebchannel
1677 qtwebengine
1678 sonnet))
1679 (arguments
1680 (list
1681 #:qtbase qtbase
1682 ;; FIXME: Many failing tests.
1683 #:test-exclude
1684 (string-append "("
1685 (string-join '("akonadi-sqlite-kmcomposerwintest"
1686 "akonadi-sqlite-archivemailwidgettest"
1687 "akonadi-sqlite-tagselectdialogtest"
1688 "akonadi-sqlite-kmcommandstest"
1689 "sendlateragent-sendlaterutiltest"
1690 "sendlateragent-sendlaterconfigtest"
1691 "followupreminder-followupreminderconfig\
1692test"
1693 "akonadi-sqlite-unifiedmailboxmanagertest")
1694 "|")
1695 ")")
1696 #:phases
1697 #~(modify-phases %standard-phases
1698 (add-after 'install 'wrap-program
1699 (lambda* (#:key inputs #:allow-other-keys)
1700 (define (find-program-directory name)
1701 (dirname (search-input-file
1702 inputs (string-append "/bin/" name))))
1703 (wrap-program (string-append #$output "/bin/kmail")
1704 `("XDG_DATA_DIRS" ":" prefix
1705 (,(getenv "XDG_DATA_DIRS")))
1706 `("PATH" ":" prefix
1707 ,(map find-program-directory
1708 (list "kaddressbook"
1709 "akonadictl"
1710 "accountwizard"))))))
1711 (replace 'check
1712 (lambda* (#:key tests? (test-exclude "") #:allow-other-keys)
1713 (when tests?
1714 (invoke "dbus-launch" "ctest" "-E" test-exclude)))))))
1715 (home-page "https://kontact.kde.org/components/kmail/")
1716 (synopsis "Full featured graphical email client")
1717 (description "KMail supports multiple accounts, mail filtering and email
1718encryption. The program let you configure your workflow and it has good
1719integration into KDE (Plasma Desktop) but is also usable with other Desktop
1720Environments.
1721
1722KMail is the email component of Kontact, the integrated personal information
1723manager from KDE.")
1724 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
1725 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
1726
1727(define-public kmail-account-wizard
1728 (package
1729 (name "kmail-account-wizard")
1730 (version "26.04.1")
1731 (source
1732 (origin
1733 (method url-fetch)
1734 (uri (string-append "mirror://kde/stable/release-service/" version
1735 "/src/kmail-account-wizard-" version ".tar.xz"))
1736 (sha256
1737 (base32 "0lysc3m4b4zjscmp2i5xb9fnaql9mxrmaf1c4cjc93y0pna5k2sh"))))
1738 (build-system qt-build-system)
1739 (native-inputs
1740 (list extra-cmake-modules shared-mime-info))
1741 (inputs
1742 (list akonadi
1743 akonadi-mime
1744 kcrash
1745 kcmutils
1746 kdbusaddons
1747 ki18n
1748 kiconthemes
1749 kidentitymanagement
1750 kimap
1751 kitemmodels
1752 kldap
1753 kmailtransport
1754 kmime
1755 knewstuff
1756 knotifications
1757 knotifyconfig
1758 kpimcommon
1759 kpimtextedit
1760 ktextaddons
1761 ktexteditor
1762 kwallet
1763 libkdepim
1764 libkleo
1765 qtkeychain-qt6
1766 qtwayland))
1767 (arguments (list #:qtbase qtbase
1768 ;; TODO: pass test.
1769 #:tests? #f))
1770 (home-page "https://invent.kde.org/pim/kmail-account-wizard")
1771 (synopsis "Assistant for the configuration of accounts in KMail")
1772 (description
1773 "This package provides an assistant for the configuration of accounts in
1774KMail.")
1775 (license ;;GPL for programs, LGPL for libraries, FDL for documentation
1776 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
1777
1778(define-public kmailcommon
1779 (package
1780 (name "kmailcommon")
1781 (version "26.04.1")
1782 (source
1783 (origin
1784 (method url-fetch)
1785 (uri (string-append "mirror://kde/stable/release-service/" version
1786 "/src/mailcommon-" version ".tar.xz"))
1787 (sha256
1788 (base32 "16jqc9m9l6xxbp3vwis2wbr4vp2by4n1y4r378yasp0q9zsj8z7s"))))
1789 (properties `((upstream-name . "mailcommon")))
1790 (build-system qt-build-system)
1791 (native-inputs
1792 (list extra-cmake-modules dbus gnupg qttools))
1793 (inputs
1794 (list akonadi-contacts
1795 boost
1796 gpgmepp
1797 grantleetheme
1798 karchive
1799 kcodecs
1800 kconfig
1801 kconfigwidgets
1802 kcontacts
1803 kdbusaddons
1804 kguiaddons
1805 ki18n
1806 kiconthemes
1807 kidentitymanagement
1808 kimap
1809 kio
1810 kitemmodels
1811 kitemviews
1812 kldap
1813 kmailimporter
1814 kmailtransport
1815 kmime
1816 kpimtextedit
1817 ksyntaxhighlighting
1818 ktextaddons
1819 ktextwidgets
1820 kwallet
1821 kwidgetsaddons
1822 kwindowsystem
1823 kxmlgui
1824 libkleo
1825 libxslt
1826 phonon
1827 qgpgme
1828 qtmultimedia
1829 qtwebchannel
1830 qtwebengine))
1831 (propagated-inputs (list akonadi
1832 akonadi-mime
1833 kcompletion
1834 kmessagelib
1835 kpimcommon
1836 libkdepim))
1837 (arguments
1838 (list
1839 #:qtbase qtbase
1840 #:tests? #f)) ;; TODO: 12/62 tests fail
1841 (home-page "https://invent.kde.org/pim/mailcommon")
1842 (synopsis "KDE email utility library")
1843 (description "The mail common library provides utility functions for
1844dealing with email.")
1845 (license ;; GPL for programs, LGPL for libraries
1846 (list license:gpl2+ license:lgpl2.0+))))
1847
1848(define-public kmailimporter
1849 (package
1850 (name "kmailimporter")
1851 (version "26.04.1")
1852 (source
1853 (origin
1854 (method url-fetch)
1855 (uri (string-append "mirror://kde/stable/release-service/" version
1856 "/src/mailimporter-" version ".tar.xz"))
1857 (sha256
1858 (base32 "0g8js5a2iqqpd4n1q0nz3z78jdqrvkana66yw1wjw6krway0lmpf"))))
1859 (properties `((upstream-name . "mailimporter")))
1860 (build-system qt-build-system)
1861 (native-inputs
1862 (list extra-cmake-modules))
1863 (inputs
1864 (list akonadi
1865 akonadi-contacts
1866 akonadi-mime
1867 grantleetheme
1868 boost
1869 kcompletion
1870 kconfig
1871 kconfigwidgets
1872 kcontacts
1873 kcoreaddons
1874 kdbusaddons
1875 ki18n
1876 kimap
1877 kio
1878 kitemmodels
1879 kmime
1880 kpimcommon
1881 kpimtextedit
1882 ktextaddons
1883 ktextwidgets
1884 kxmlgui
1885 libkdepim))
1886 (propagated-inputs (list karchive))
1887 (arguments (list #:qtbase qtbase))
1888 (home-page "https://invent.kde.org/pim/mailimporter")
1889 (synopsis "KDE mail importer library")
1890 (description "This package provides libraries for importing mails other
1891e-mail client programs into KMail and KDE PIM.")
1892 (license ;; GPL for programs, LGPL for libraries
1893 (list license:gpl2+ license:lgpl2.0+))))
1894
1895(define-public kmailtransport
1896 (package
1897 (name "kmailtransport")
1898 (version "26.04.1")
1899 (source
1900 (origin
1901 (method url-fetch)
1902 (uri (string-append "mirror://kde/stable/release-service/" version
1903 "/src/kmailtransport-" version ".tar.xz"))
1904 (sha256
1905 (base32 "0i4z0z810lqjgpbzyj0kccvsic4q3gcb23x8y7rhb07sa91ga1n9"))))
1906 (build-system qt-build-system)
1907 (propagated-inputs
1908 (list kconfig)) ;required by KPim6MailTransportConfig.cmake
1909 (native-inputs
1910 (list extra-cmake-modules kdoctools))
1911 (inputs
1912 (list akonadi
1913 akonadi-mime
1914 boost
1915 cyrus-sasl
1916 kcalendarcore
1917 kcmutils
1918 kcontacts
1919 kdbusaddons
1920 kconfigwidgets
1921 ki18n
1922 kitemmodels
1923 kio
1924 kmime
1925 ksmtp
1926 ktextwidgets
1927 kwallet
1928 libkgapi
1929 qtkeychain-qt6))
1930 (arguments
1931 (list
1932 #:qtbase qtbase
1933 #:tests? #f)) ;; 1/2 tests fail, require network.
1934 (home-page "https://api.kde.org/kdepim/kmailtransport/html/index.html")
1935 (synopsis "Mail transport service library")
1936 (description "This library provides an API and support code for managing
1937mail transport.")
1938 (license license:lgpl2.0+)))
1939
1940(define-public kmbox
1941 (package
1942 (name "kmbox")
1943 (version "26.04.1")
1944 (source
1945 (origin
1946 (method url-fetch)
1947 (uri (string-append "mirror://kde/stable/release-service/" version
1948 "/src/kmbox-" version ".tar.xz"))
1949 (sha256
1950 (base32 "1k5w6cr5hqyg5ql9k6gjrjf64c99088hhwacpqbfq5cyhmvwci9z"))))
1951 (build-system qt-build-system)
1952 (propagated-inputs
1953 (list kmime)) ;required by KPim6MboxConfig.cmake
1954 (native-inputs
1955 (list extra-cmake-modules))
1956 (inputs
1957 (list kcodecs))
1958 (arguments (list #:qtbase qtbase))
1959 (home-page "https://api.kde.org/kdepim/kmbox/html/index.html")
1960 (synopsis "Library for handling mbox mailboxes")
1961 (description "This is a library for handling mailboxes in mbox format,
1962using a Qt/KMime C++ API.")
1963 (license license:lgpl2.0+ )))
1964
1965(define-public kmessagelib
1966 (package
1967 (name "kmessagelib")
1968 (version "26.04.1")
1969 (source
1970 (origin
1971 (method url-fetch)
1972 (uri (string-append "mirror://kde/stable/release-service/" version
1973 "/src/messagelib-" version ".tar.xz"))
1974 (sha256
1975 (base32 "0v1wcv6fb6br5zma9mpvjjzkbz3qjzxnxddi9kw9fl4r69ha001v"))))
1976 (properties `((upstream-name . "messagelib")))
1977 (build-system qt-build-system)
1978 (native-inputs
1979 (list extra-cmake-modules gnupg libxml2))
1980 (inputs
1981 (list akonadi-contacts
1982 akonadi-search
1983 boost
1984 gpgmepp
1985 grantleetheme
1986 karchive
1987 kcalendarcore
1988 kcodecs
1989 kcompletion
1990 kconfig
1991 kconfigwidgets
1992 kdbusaddons
1993 kguiaddons
1994 ki18n
1995 kiconthemes
1996 kimap
1997 kio
1998 kitemmodels
1999 kitemviews
2000 kjobwidgets
2001 kldap
2002 kmailtransport
2003 kmbox
2004 knewstuff
2005 knotifications
2006 ksyntaxhighlighting
2007 ktextwidgets
2008 ktexttemplate
2009 kwallet
2010 kwidgetsaddons
2011 kwindowsystem
2012 kxmlgui
2013 openssl
2014 libgravatar
2015 qca-qt6
2016 qgpgme
2017 qtdeclarative
2018 qtwebchannel
2019 sonnet))
2020 (propagated-inputs
2021 (list akonadi
2022 akonadi-mime
2023 kcontacts
2024 kidentitymanagement
2025 kmime
2026 kpimcommon
2027 kpimtextedit
2028 kservice
2029 ktextaddons
2030 libkdepim
2031 libkleo
2032 mimetreeparser
2033 qtwebengine))
2034 (arguments
2035 (list #:qtbase qtbase
2036 #:tests? #f ;TODO many test fail for quite different reasons
2037 #:phases
2038 #~(modify-phases %standard-phases
2039 (add-after 'unpack 'add-miss-PrintSupport
2040 (lambda _
2041 (substitute* "webengineviewer/src/CMakeLists.txt"
2042 (("KF6::ConfigCore")
2043 "KF6::ConfigCore\n Qt::PrintSupport")))))))
2044 (home-page "https://invent.kde.org/pim/messagelib")
2045 (synopsis "KDE PIM messaging libraries")
2046 (description "This package provides several libraries for messages,
2047e.g. a message list, a mime tree parse, a template parser and the
2048kwebengineviewer.")
2049 (license ;; GPL for programs, LGPL for libraries
2050 (list license:gpl2+ license:lgpl2.0+))))
2051
2052(define-public kmime
2053 (package
2054 (name "kmime")
2055 (version "26.04.1")
2056 (source
2057 (origin
2058 (method url-fetch)
2059 (uri (string-append "mirror://kde/stable/release-service/" version
2060 "/src/kmime-" version ".tar.xz"))
2061 (sha256
2062 (base32 "0sif8wbj1vk31skrpw7fd64wb0rf6i9ywzjfzkrgh447q9xnlqbr"))))
2063 (build-system qt-build-system)
2064 (propagated-inputs
2065 (list kcodecs)) ;required by KPim6MimeConfig.cmake
2066 (native-inputs
2067 (list extra-cmake-modules qttools tzdata-for-tests))
2068 (inputs
2069 (list ki18n))
2070 (arguments
2071 (list #:qtbase qtbase
2072 #:phases
2073 #~(modify-phases %standard-phases
2074 (add-after 'unpack 'fix-test-case
2075 (lambda* (#:key inputs tests? #:allow-other-keys)
2076 (when tests?
2077 (setenv "LC_ALL" "C.utf8") ;for 'testFancyFormat'
2078 (setenv "TZDIR" (search-input-directory
2079 inputs "share/zoneinfo"))))))))
2080 (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/")
2081 (synopsis "Library for handling MIME data")
2082 (description "This library provides an API for handling MIME
2083data. MIME (Multipurpose Internet Mail Extensions) is an Internet Standard
2084that extends the format of e-mail to support text in character sets other than
2085US-ASCII, non-text attachments, multi-part message bodies, and header
2086information in non-ASCII character sets.")
2087 (license license:lgpl2.0+)))
2088
2089(define-public kontactinterface
2090 (package
2091 (name "kontactinterface")
2092 (version "26.04.1")
2093 (source
2094 (origin
2095 (method url-fetch)
2096 (uri (string-append "mirror://kde/stable/release-service/" version
2097 "/src/kontactinterface-" version ".tar.xz"))
2098 (sha256
2099 (base32 "1d8s1afv42f4p6kbbrikcmzm47pkfn5hxa33z5q6lvb714c8gk5f"))))
2100 (build-system qt-build-system)
2101 (propagated-inputs
2102 (list kparts)) ;required by KPim6KontactInterfaceConfigVersion.cmake
2103 (native-inputs
2104 (list extra-cmake-modules))
2105 (inputs
2106 (list kcoreaddons
2107 ki18n
2108 kiconthemes
2109 kwindowsystem
2110 kxmlgui
2111 libxkbcommon))
2112 (arguments
2113 (list #:qtbase qtbase
2114 #:tests? #f))
2115 (home-page "https://api.kde.org/kdepim/kontactinterface/html/index.html")
2116 (synopsis "Kontact interface library")
2117 (description "This library provides the glue necessary for
2118application \"Parts\" to be embedded as a Kontact component (or plugin).")
2119 (license license:lgpl2.0+)))
2120
2121(define-public kalarm
2122 (package
2123 (name "kalarm")
2124 (version "26.04.1")
2125 (source
2126 (origin
2127 (method url-fetch)
2128 (uri (string-append "mirror://kde/stable/release-service/" version
2129 "/src/kalarm-" version ".tar.xz"))
2130 (sha256
2131 (base32 "173f0gsvfnsyc0dyzfn0b207xxp7a0zk7a2r851063rqicwl9ha5"))))
2132 (build-system qt-build-system)
2133 (arguments
2134 (list #:qtbase qtbase
2135 ;; There are only 2 tests, kadatetimetest and kaeventtest, which
2136 ;; fail due to be unable to determine system time zone.
2137 #:tests? #f
2138 #:configure-flags
2139 #~(list "-DENABLE_LIBVLC=OFF"))) ;Use only mpv
2140 (native-inputs
2141 (list extra-cmake-modules kdoctools pkg-config))
2142 (inputs
2143 (list akonadi
2144 akonadi-contacts
2145 akonadi-mime
2146 grantleetheme
2147 kauth
2148 kcalendarcore
2149 kcalutils
2150 kcodecs
2151 kcompletion
2152 kconfig
2153 kconfigwidgets
2154 kcontacts
2155 kcrash
2156 kdbusaddons
2157 kglobalaccel
2158 kguiaddons
2159 kholidays
2160 ki18n
2161 kiconthemes
2162 kidentitymanagement
2163 kio
2164 kitemmodels
2165 kitemviews
2166 kjobwidgets
2167 kmailtransport
2168 kmime
2169 knotifications
2170 knotifyconfig
2171 kpimtextedit
2172 kservice
2173 kstatusnotifieritem
2174 ktextaddons
2175 ktextwidgets
2176 kwidgetsaddons
2177 kwindowsystem
2178 kxmlgui
2179 mpv))
2180 (home-page "https://apps.kde.org/kalarm/")
2181 (synopsis "Alarm manager for KDE")
2182 (description "Kalarm is a personal alarm message, command and email
2183scheduler application for KDE.
2184
2185It features:
2186@itemize
2187@item displaying alarms using your own text message, the text generated by a
2188 command, or a text or image file,
2189@item audible alarm using a sound file,
2190@item recurring alarm on an hours/minutes, daily, weekly, monthly or annual
2191 basis, or set it to trigger every time you log in,
2192@item display alarms color and font customization, and
2193@item support for multiple alarm calendars, which for example enables you to
2194 share alarms between a laptop and desktop computer.
2195@end itemize")
2196 (license license:gpl2+)))
2197
2198(define-public korganizer
2199 (package
2200 (name "korganizer")
2201 (version "26.04.1")
2202 (source
2203 (origin
2204 (method url-fetch)
2205 (uri (string-append "mirror://kde/stable/release-service/" version
2206 "/src/korganizer-" version ".tar.xz"))
2207 (sha256
2208 (base32 "1nysr47k85240qg36x5j1m5milkk1387bnijc026r6pfwvnyi4hv"))))
2209 (build-system qt-build-system)
2210 (native-inputs
2211 (list extra-cmake-modules dbus qttools kdoctools tzdata-for-tests))
2212 (inputs
2213 (list akonadi
2214 akonadi-calendar
2215 akonadi-contacts
2216 akonadi-mime
2217 akonadi-search
2218 boost
2219 breeze-icons ; default icon set, required for tests
2220 grantleetheme
2221 kcalendarcore
2222 kcalendarsupport
2223 kcalutils
2224 kcmutils
2225 kcodecs
2226 kcompletion
2227 kconfig
2228 kconfigwidgets
2229 kcontacts
2230 kcoreaddons
2231 kcrash
2232 kdbusaddons
2233 keventviews
2234 kholidays
2235 kiconthemes
2236 kimap
2237 kincidenceeditor
2238 kitemmodels
2239 kitemviews
2240 kjobwidgets
2241 kldap
2242 kmailtransport
2243 kmime
2244 knewstuff
2245 knotifications
2246 kontactinterface
2247 kparts
2248 kpimcommon
2249 kpimtextedit
2250 kservice
2251 ktextaddons
2252 kwallet
2253 kwidgetsaddons
2254 kwindowsystem
2255 kxmlgui
2256 libkdepim
2257 phonon
2258 qtwayland))
2259 (arguments
2260 (list #:qtbase qtbase
2261 #:test-exclude "akonadi-sqlite-koeventpopupmenutest"
2262 #:phases
2263 #~(modify-phases %standard-phases
2264 (replace 'check
2265 (lambda* (#:key inputs tests? (test-exclude "")
2266 #:allow-other-keys)
2267 (when tests?
2268 (setenv "TZDIR" (search-input-directory
2269 inputs "share/zoneinfo"))
2270 (invoke "dbus-launch" "ctest" "-E" test-exclude)))))))
2271 (home-page "https://apps.kde.org/korganizer/")
2272 (synopsis "Organizational assistant, providing calendars and other similar
2273functionality")
2274 (description "KOrganizer is the calendar and scheduling component of
2275Kontact. It provides management of events and tasks, alarm notification, web
2276export, network transparent handling of data, group scheduling, import and
2277export of calendar files and more. It is able to work together with a wide
2278variety of calendaring services, including NextCloud, Kolab, Google Calendar
2279and others. KOrganizer is fully customizable to your needs and is an integral
2280part of the Kontact suite, which aims to be a complete solution for organizing
2281your personal data. KOrganizer supports the two dominant standards for storing
2282and exchanging calendar data, vCalendar and iCalendar.")
2283 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
2284 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
2285
2286(define-public kpkpass
2287 (package
2288 (name "kpkpass")
2289 (version "26.04.1")
2290 (source (origin
2291 (method url-fetch)
2292 (uri (string-append "mirror://kde/stable/release-service/" version
2293 "/src/kpkpass-" version ".tar.xz"))
2294 (sha256
2295 (base32
2296 "1cbyha50892z0nxyb03y97qj1x3cy090w7hqk29v3iza7byx100h"))))
2297 (build-system qt-build-system)
2298 (propagated-inputs (list karchive)) ;required by KPim6PkPassConfig.cmake
2299 (native-inputs (list extra-cmake-modules))
2300 (inputs (list qtdeclarative shared-mime-info))
2301 (arguments (list #:qtbase qtbase))
2302 (home-page "https://invent.kde.org/pim/kpkpass")
2303 (synopsis "Apple Wallet Pass reader")
2304 (description "This package provides library to deal with Apple Wallet
2305pass files.")
2306 (license license:lgpl2.0+)))
2307
2308(define-public kpimcommon
2309 (package
2310 (name "kpimcommon")
2311 (version "26.04.1")
2312 (source
2313 (origin
2314 (method url-fetch)
2315 (uri (string-append "mirror://kde/stable/release-service/" version
2316 "/src/pimcommon-" version ".tar.xz"))
2317 (sha256
2318 (base32 "0v8jg1bbxwkd9h6lbvnm5h4hl5cri3401qmj0anqgl6qcrvhklkz"))))
2319 (properties `((upstream-name . "pimcommon")))
2320 (build-system qt-build-system)
2321 (native-inputs
2322 (list extra-cmake-modules qttools))
2323 (inputs
2324 (list karchive
2325 akonadi-mime
2326 akonadi-search
2327 boost
2328 grantleetheme
2329 kaccounts-integration
2330 kcalendarcore
2331 kcmutils
2332 kcodecs
2333 kconfigwidgets
2334 kcoreaddons
2335 ki18n
2336 kiconthemes
2337 kirigami ;; run-time dependency
2338 kitemmodels
2339 kjobwidgets
2340 kldap
2341 kmime
2342 knewstuff
2343 kpimtextedit
2344 ktextwidgets
2345 ktexttemplate
2346 kwallet
2347 kwidgetsaddons
2348 kwindowsystem
2349 kxmlgui
2350 libxslt
2351 purpose
2352 qtwebengine))
2353 (propagated-inputs
2354 (list akonadi
2355 akonadi-contacts
2356 kconfig
2357 kcontacts
2358 kimap
2359 kio
2360 ktextaddons
2361 libkdepim
2362 plasma-activities))
2363 (arguments
2364 (list #:qtbase qtbase))
2365 (home-page "https://invent.kde.org/pim/pimcommon")
2366 (synopsis "Common libraries for KDE PIM")
2367 (description "This package provides common libraries for KDE PIM.")
2368 (license ;; GPL for programs, LGPL for libraries
2369 (list license:gpl2+ license:lgpl2.0+))))
2370
2371(define-public kpublictransport
2372 (package
2373 (name "kpublictransport")
2374 (version "26.04.1")
2375 (source (origin
2376 (method url-fetch)
2377 (uri (string-append "mirror://kde/stable/release-service/"
2378 version "/src/kpublictransport-" version
2379 ".tar.xz"))
2380 (sha256
2381 (base32
2382 "1zvpww04bhgsx3dn2dv300vd7gkkby4kdsk25i0n5rl5mbkck4g4"))))
2383 (build-system qt-build-system)
2384 (arguments
2385 (list #:qtbase qtbase
2386 #:test-exclude
2387 (string-append "("
2388 (string-join '("updatetest"
2389 "motis2parsertest")
2390 "|")
2391 ")")
2392 #:phases #~(modify-phases %standard-phases
2393 (add-before 'check 'check-setup
2394 (lambda* (#:key inputs #:allow-other-keys)
2395 (setenv "QT_QPA_PLATFORM" "offscreen")
2396 (setenv "HOME" ".")
2397 (setenv "TZ" "Europe/Prague")
2398 (setenv "TZDIR"
2399 (search-input-directory inputs
2400 "share/zoneinfo")))))))
2401 (propagated-inputs
2402 (list ;; As required by KPublicTransportConfig.cmake.
2403 zlib
2404
2405 ;; As required by the QML modules.
2406 kcoreaddons
2407 ki18n
2408 kirigami
2409 kirigami-addons
2410 kitemmodels
2411 qtdeclarative
2412 qtlocation
2413 qtpositioning))
2414 (native-inputs (list extra-cmake-modules pkg-config tzdata-for-tests))
2415 ;; TODO: clipper and osmctools are not detected
2416 (inputs (list clipper
2417 networkmanager-qt
2418 osmctools
2419 protobuf))
2420 (home-page "https://api.kde.org/kdepim/kpublictransport/html/index.html")
2421 (synopsis "Library for accessing realtime public transport data")
2422 (description
2423 "This package provides a library for accessing realtime public
2424transport data and for performing public transport journey queries.")
2425 (license (list license:lgpl2.0+))))
2426
2427(define-public libgravatar
2428 (package
2429 (name "libgravatar")
2430 (version "26.04.1")
2431 (source
2432 (origin
2433 (method url-fetch)
2434 (uri (string-append "mirror://kde/stable/release-service/" version
2435 "/src/libgravatar-" version ".tar.xz"))
2436 (sha256
2437 (base32 "1ilmdp0pdnh5paag59kc8z61mrm2sbpnvkll1mxxgs28fhq6ir09"))))
2438 (build-system cmake-build-system)
2439 (native-inputs (list extra-cmake-modules))
2440 (inputs (list kconfig
2441 ki18n
2442 kio
2443 kconfigwidgets
2444 kpimcommon
2445 kpimtextedit
2446 ktextaddons
2447 ktextwidgets
2448 kwidgetsaddons
2449 qtbase))
2450 (arguments
2451 (list #:tests? #f)) ;; 2/7 tests fail (due to network issues?)
2452 (home-page "https://invent.kde.org/pim/libgravatar")
2453 (synopsis "Online avatar lookup library")
2454 (description "This library retrieves avatar images based on a
2455hash from a person's email address, as well as local caching to avoid
2456unnecessary network operations.")
2457 (license ;; GPL for programs, LGPL for libraries
2458 (list license:gpl2+ license:lgpl2.0+))))
2459
2460(define-public kpimtextedit
2461 (package
2462 (name "kpimtextedit")
2463 (version "26.04.1")
2464 (source
2465 (origin
2466 (method url-fetch)
2467 (uri (string-append "mirror://kde/stable/release-service/" version
2468 "/src/kpimtextedit-" version ".tar.xz"))
2469 (sha256
2470 (base32 "10h5z0ylpkhaba4czx0qmqcizj1slz7qcrn3kvhv70lw0dhwqw16"))))
2471 (build-system qt-build-system)
2472 (propagated-inputs
2473 (list ktextaddons)) ;required by KPim6TextEditConfig.cmake
2474 (native-inputs
2475 (list extra-cmake-modules qttools))
2476 (inputs
2477 (list kcodecs
2478 kconfigwidgets
2479 kcoreaddons
2480 ki18n
2481 kiconthemes
2482 kio
2483 ksyntaxhighlighting
2484 ktextwidgets
2485 kwidgetsaddons
2486 kxmlgui
2487 qtspeech
2488 sonnet))
2489 (arguments
2490 (list #:qtbase qtbase
2491 #:tests? #f)) ;; TODO - test suite hangs
2492 (home-page "https://api.kde.org/kdepim/kpimtextedit/html/index.html")
2493 (synopsis "Library providing a textedit with PIM-specific features")
2494 (description "This package provides a textedit with PIM-specific features.
2495It also provides so-called rich text builders which can convert the formatted
2496text in the text edit to all kinds of markup, like HTML or BBCODE.")
2497 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
2498 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
2499
2500(define-public ksmtp
2501 (package
2502 (name "ksmtp")
2503 (version "26.04.1")
2504 (source
2505 (origin
2506 (method url-fetch)
2507 (uri (string-append "mirror://kde/stable/release-service/" version
2508 "/src/ksmtp-" version ".tar.xz"))
2509 (sha256
2510 (base32 "1wf1ahj066r0b502dizs2gxlp0g45x10nydpkjvb2wbnflcixgw1"))))
2511 (build-system qt-build-system)
2512 (propagated-inputs
2513 (list kcoreaddons)) ;required by KPim6SMTPConfig.cmake
2514 (native-inputs
2515 (list extra-cmake-modules))
2516 (inputs
2517 (list cyrus-sasl
2518 kcodecs
2519 kconfig
2520 ki18n
2521 kio))
2522 (arguments
2523 (list #:qtbase qtbase
2524 #:tests? #f)) ;; TODO: does not find sasl mechs
2525 (home-page "https://invent.kde.org/pim/ksmtp")
2526 (synopsis "Library for sending email through an SMTP server")
2527 (description "This library provides an API for handling SMTP
2528services. SMTP (Simple Mail Transfer Protocol) is the most prevalent Internet
2529standard protocols for e-mail transmission.")
2530 (license license:lgpl2.0+)))
2531
2532(define-public ktnef
2533 (package
2534 (name "ktnef")
2535 (version "26.04.1")
2536 (source
2537 (origin
2538 (method url-fetch)
2539 (uri (string-append "mirror://kde/stable/release-service/" version
2540 "/src/ktnef-" version ".tar.xz"))
2541 (sha256
2542 (base32 "0asv490dzdrrhca662qa306qnwz08ggd5xzn1xrhd8wyahfdcnqv"))))
2543 (build-system qt-build-system)
2544 (propagated-inputs
2545 (list kcalendarcore)) ;required by KPim6TnefConfig.cmake
2546 (native-inputs
2547 (list extra-cmake-modules))
2548 (inputs
2549 (list kcalutils
2550 kcodecs
2551 kconfig
2552 kcontacts
2553 kcoreaddons
2554 ki18n))
2555 (arguments (list #:qtbase qtbase))
2556 (home-page "https://api.kde.org/kdepim/ktnef/html/index.html")
2557 (synopsis "Library for handling mail attachments using TNEF format")
2558 (description "Ktnef is a library for handling data in the TNEF
2559format (Transport Neutral Encapsulation Format, a proprietary format of e-mail
2560attachment used by Microsoft Outlook and Microsoft Exchange Server). The API
2561permits access to the actual attachments, the message properties (TNEF/MAPI),
2562and allows one to view/extract message formatted text in Rich Text Format.")
2563 (license license:lgpl2.0+)))
2564
2565(define-public libkdepim
2566 (package
2567 (name "libkdepim")
2568 (version "26.04.1")
2569 (source
2570 (origin
2571 (method url-fetch)
2572 (uri (string-append "mirror://kde/stable/release-service/" version
2573 "/src/libkdepim-" version ".tar.xz"))
2574 (sha256
2575 (base32 "0lp0ya9ljs4cl80kqd5729x75hh89viw5fnlaiicifj3nj1ll2h6"))))
2576 (build-system qt-build-system)
2577 (native-inputs
2578 (list extra-cmake-modules qttools))
2579 (inputs
2580 (list akonadi
2581 akonadi-contacts
2582 akonadi-mime
2583 akonadi-search
2584 boost
2585 kcmutils
2586 kcodecs
2587 kcalendarcore
2588 kcompletion
2589 kconfig
2590 kconfigwidgets
2591 kcontacts
2592 kcoreaddons
2593 kdbusaddons
2594 ki18n
2595 kiconthemes
2596 kio
2597 kitemmodels
2598 kitemviews
2599 kjobwidgets
2600 kldap
2601 kmime
2602 kwallet
2603 kwidgetsaddons))
2604 (arguments (list #:qtbase qtbase))
2605 (home-page "https://invent.kde.org/pim/libkdepim")
2606 (synopsis "Libraries for common KDE PIM apps")
2607 (description "This package provided libraries for common KDE PIM apps.")
2608 (license ;; GPL for programs, LGPL for libraries
2609 (list license:gpl2+ license:lgpl2.0+))))
2610
2611(define-public libkgapi
2612 (package
2613 (name "libkgapi")
2614 (version "26.04.1")
2615 (source
2616 (origin
2617 (method url-fetch)
2618 (uri (string-append "mirror://kde/stable/release-service/" version
2619 "/src/libkgapi-" version ".tar.xz"))
2620 (sha256
2621 (base32 "0w020k33nsbfdiz36fyacdidj69ih6jljz1cpkqsbmwhrpv5dx7n"))))
2622 (build-system qt-build-system)
2623 (native-inputs
2624 (list extra-cmake-modules qttools))
2625 (propagated-inputs
2626 (list kcalendarcore kcontacts)) ;required by KPim6GAPIConfig.cmake
2627 (inputs
2628 (list cyrus-sasl
2629 ki18n
2630 kio
2631 kwallet
2632 kwindowsystem
2633 qtdeclarative
2634 qtwebchannel
2635 qtwebengine))
2636 (arguments
2637 (list #:qtbase qtbase
2638 #:tests? #f)) ;; TODO 6/48 tests fail
2639 (home-page "https://invent.kde.org/pim/libkgapi")
2640 (synopsis "Library for accessing various Google services via their public
2641API")
2642 (description "@code{LibKGAPI} is a C++ library that implements APIs for
2643various Google services.")
2644 (license license:lgpl2.0+)))
2645
2646(define-public libkleo
2647 (package
2648 (name "libkleo")
2649 (version "26.04.1")
2650 (source
2651 (origin
2652 (method url-fetch)
2653 (uri (string-append "mirror://kde/stable/release-service/" version
2654 "/src/libkleo-" version ".tar.xz"))
2655 (sha256
2656 (base32 "1p6f5iykb5scv1bvgvjqqgxy59dbsqhk5gmaxls11llq0pwzwik3"))))
2657 (build-system qt-build-system)
2658 (native-inputs
2659 (list extra-cmake-modules kdoctools qttools))
2660 (inputs
2661 (list boost
2662 kcodecs
2663 kcompletion
2664 kconfig
2665 kconfigwidgets
2666 kcoreaddons
2667 kcrash
2668 ki18n
2669 kitemmodels
2670 kwidgetsaddons
2671 kwindowsystem
2672 kpimtextedit
2673 qgpgme))
2674 (propagated-inputs
2675 (list gpgmepp qgpgme))
2676 (arguments
2677 (list
2678 #:qtbase qtbase
2679 #:test-exclude
2680 (string-append "("
2681 (string-join '("expirycheckertest"
2682 "keyresolvercoretest"
2683 "newkeyapprovaldialogtest"
2684 "keyparameterstest"
2685 "keycachetest")
2686 "|")
2687 ")")
2688 #:phases
2689 #~(modify-phases %standard-phases
2690 (replace 'check
2691 (lambda* (#:key tests? (test-exclude "") #:allow-other-keys)
2692 (when tests? ;; FIXME: These tests fail.
2693 (invoke "ctest" "-E" test-exclude)))))))
2694 (home-page "https://invent.kde.org/pim/libkleo")
2695 (synopsis "KDE PIM cryptographic library")
2696 (description "@code{libkleo} is a library for Kleopatra and other parts of
2697KDE using certificate-based crypto.")
2698 (license ;; GPL for programs, LGPL for libraries
2699 (list license:gpl2+ license:lgpl2.0+))))
2700
2701(define-public libksieve
2702 (package
2703 (name "libksieve")
2704 (version "26.04.1")
2705 (source
2706 (origin
2707 (method url-fetch)
2708 (uri (string-append "mirror://kde/stable/release-service/" version
2709 "/src/libksieve-" version ".tar.xz"))
2710 (sha256
2711 (base32
2712 "09gghzy7a77xmcr0gy04sh7h1ym8zv4qjvi0pylap8phgnm9wqb3"))))
2713 (build-system qt-build-system)
2714 (propagated-inputs
2715 (list ksyntaxhighlighting)) ;required by KPim6KManageSieveConfig.cmake
2716 (native-inputs
2717 (list extra-cmake-modules kdoctools))
2718 (inputs
2719 (list akonadi
2720 cyrus-sasl
2721 grantleetheme
2722 kconfigwidgets
2723 karchive
2724 ki18n
2725 kiconthemes
2726 kidentitymanagement
2727 kimap
2728 kio
2729 kmailtransport
2730 kmime
2731 knewstuff
2732 kpimcommon
2733 kpimtextedit
2734 ktextaddons
2735 ktextwidgets
2736 kwallet
2737 kwindowsystem
2738 libkdepim
2739 qtdeclarative
2740 qtwebchannel
2741 qtwebengine))
2742 (arguments
2743 (list #:qtbase qtbase
2744 #:test-exclude "sieveeditorhelphtmlwidgettest"))
2745 (home-page "https://invent.kde.org/pim/libksieve")
2746 (synopsis "KDE Sieve library")
2747 (description "Sieve is a language that can be used filter emails. KSieve
2748is a Sieve parser and interpreter library for KDE.")
2749 (license ;; GPL for programs, LGPL for libraries
2750 (list license:gpl2+ license:lgpl2.0+))))
2751
2752(define-public merkuro
2753 (package
2754 (name "merkuro")
2755 (version "26.04.1")
2756 (source (origin
2757 (method url-fetch)
2758 (uri (string-append "mirror://kde/stable/release-service/"
2759 version "/src/" name "-" version
2760 ".tar.xz"))
2761 (sha256
2762 (base32
2763 "0k17h89mcnl9nk340s28yl7v00dd308zmylqsrz1703wgiwvm7b1"))))
2764 (build-system qt-build-system)
2765 (arguments
2766 (list #:qtbase qtbase
2767 #:tests? #f
2768 #:phases
2769 #~(modify-phases %standard-phases
2770 (replace 'check
2771 (lambda* (#:key tests? #:allow-other-keys)
2772 (when tests?
2773 (invoke "dbus-launch" "ctest")))))))
2774 (native-inputs (list dbus extra-cmake-modules))
2775 (inputs (list akonadi
2776 akonadi-calendar
2777 akonadi-contacts
2778 akonadi-mime
2779 akonadi-search
2780 breeze-icons
2781 gpgme
2782 grantleetheme
2783 kcalendarcore
2784 kcalendarsupport
2785 kcalutils
2786 kconfigwidgets
2787 kcontacts
2788 kcoreaddons
2789 kcrash
2790 kdbusaddons
2791 keventviews
2792 kholidays
2793 ki18n
2794 kiconthemes
2795 kidentitymanagement
2796 kimap
2797 kio
2798 kirigami
2799 kirigami-addons
2800 kitemmodels
2801 kmailcommon
2802 kmailtransport
2803 kmessagelib
2804 kmime
2805 knotifications
2806 kpimcommon
2807 kpimtextedit
2808 ktextaddons
2809 ktextwidgets
2810 kwindowsystem
2811 kxmlgui
2812 libkdepim
2813 libkleo
2814 mimetreeparser
2815 prison
2816 qqc2-desktop-style
2817 qt5compat
2818 qtdeclarative
2819 qtlocation
2820 qtpositioning
2821 qtsvg
2822 qtwayland
2823 qtwebengine))
2824 (home-page "https://apps.kde.org/kalendar/")
2825 (synopsis "Calendar application")
2826 (description
2827 "Merkuro is a calendar application using Akonadi to sync with
2828external services.
2829
2830NOTE: plsase add akonadi and kdepim-runtime to system package.")
2831 (license license:gpl3+)))
2832
2833(define-public mimetreeparser
2834 (package
2835 (name "mimetreeparser")
2836 (version "26.04.1")
2837 (source
2838 (origin
2839 (method url-fetch)
2840 (uri (string-append "mirror://kde/stable/release-service/" version
2841 "/src/mimetreeparser-" version ".tar.xz"))
2842 (sha256
2843 (base32 "06c2yrcn2jwk9rdldifh5b4ahhmi4j3jzlshhfa9ln1xkfpwkvjs"))))
2844 (build-system qt-build-system)
2845 (native-inputs
2846 (list extra-cmake-modules))
2847 (inputs
2848 (list kcalendarcore
2849 kcodecs
2850 kcolorscheme
2851 kio
2852 libkleo
2853 kwidgetsaddons
2854 qtdeclarative))
2855 (propagated-inputs
2856 (list ki18n kirigami kmime kmbox qtdeclarative qtwebengine))
2857 (arguments
2858 (list #:tests? #f ;; FIXME: 7/9 tests fail.
2859 #:qtbase qtbase))
2860 (home-page "https://kontact.kde.org")
2861 (synopsis "Parser for MIME trees")
2862 (description "This package provides a parser for a MIME tree and is based
2863on KMime. The goal is given a MIME tree to extract a list of parts and a list
2864of attachments, check the validity of the signatures and decrypt any encrypted
2865part.")
2866 (license license:lgpl2.0+)))
2867
2868(define-public zanshin
2869 (package
2870 (name "zanshin")
2871 (version "26.04.1")
2872 (source
2873 (origin
2874 (method url-fetch)
2875 (uri (string-append "mirror://kde/stable/release-service/" version
2876 "/src/zanshin-" version ".tar.xz"))
2877 (sha256
2878 (base32 "0id8i3c7rv3nmvsq3jpzxilwsicrag5737grdkivjskk9pmmjp5p"))))
2879 (build-system qt-build-system)
2880 (arguments
2881 (list ;; TODO: Do not exclude this test when
2882 ;; AkonadiSerializerTest::shouldNotBreakRecurrenceDuringSerialization
2883 ;; passes.
2884 #:test-exclude "tests-units-akonadi-akonadiserializertest"
2885 #:phases
2886 #~(modify-phases %standard-phases
2887 (add-before 'check 'check-setup
2888 (lambda _
2889 (setenv "HOME" (getcwd))))
2890 (replace 'check
2891 (lambda* (#:key tests? (test-exclude "") #:allow-other-keys)
2892 (when tests?
2893 (invoke "dbus-launch" "ctest" "-E" test-exclude)))))))
2894 (native-inputs
2895 (list dbus extra-cmake-modules))
2896 ;; TODO: Unbundle mockitopp, which is needed for tests.
2897 (inputs
2898 (list boost
2899 akonadi
2900 akonadi-calendar
2901 kcalendarcore
2902 kcrash
2903 ki18n
2904 kitemmodels
2905 kontactinterface
2906 kparts
2907 krunner
2908 kwindowsystem
2909 qtwayland))
2910 (home-page "https://apps.kde.org/zanshin/")
2911 (synopsis "TO-do management application")
2912 (description "Zanshin is a powerful yet simple application for managing
2913your day to day actions. It helps you organize and reduce the cognitive
2914pressure of what one has to do in his job and personal life.")
2915 (license (list license:gpl3+
2916 license:expat)))) ;for mockitopp