+(define-public korganizer
+ (package
+ (name "korganizer")
+ (version "20.04.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kde/stable/release-service/" version
+ "/src/korganizer-" version ".tar.xz"))
+ (sha256
+ (base32 "04lz3ldrr0lpy9zpsg9ja1i9gxzlcjpqcwn3g7l4jjdky4frcr2r"))))
+ (build-system qt-build-system)
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)
+ ("dbus" ,dbus)
+ ("qttools" ,qttools)
+ ("kdoctools" ,kdoctools)))
+ (inputs
+ `(("akonadi" ,akonadi)
+ ("akonadi-calendar" ,akonadi-calendar)
+ ("akonadi-contacts" ,akonadi-contacts)
+ ("akonadi-mime" ,akonadi-mime)
+ ("akonadi-notes" ,akonadi-notes)
+ ("akonadi-search" ,akonadi-search)
+ ("boost" ,boost)
+ ("kcalendarcore" ,kcalendarcore)
+ ("kcalendarsupport" ,kcalendarsupport)
+ ("kcalutils" ,kcalutils)
+ ("kcmutils" ,kcmutils)
+ ("kcodecs" ,kcodecs)
+ ("kcompletion" ,kcompletion)
+ ("kconfig" ,kconfig)
+ ("kconfigwidgets" ,kconfigwidgets)
+ ("kcontacts" ,kcontacts)
+ ("kcoreaddons" ,kcoreaddons)
+ ("kcrash" ,kcrash)
+ ("kdbusaddons" ,kdbusaddons)
+ ("kdepim-apps-libs" ,kdepim-apps-libs)
+ ("keventviews" ,keventviews)
+ ("kholidays" ,kholidays)
+ ("kiconthemes" ,kiconthemes)
+ ("kidentitymanagement" ,kidentitymanagement)
+ ("kimap" ,kimap)
+ ("kincidenceeditor" ,kincidenceeditor)
+ ("kitemmodels" ,kitemmodels)
+ ("kitemviews" ,kitemviews)
+ ("kjobwidgets" ,kjobwidgets)
+ ("kldap" ,kldap)
+ ("kmailtransport" ,kmailtransport)
+ ("kmime" ,kmime)
+ ("knewstuff" ,knewstuff)
+ ("knotifications" ,knotifications)
+ ("kontactinterface" ,kontactinterface)
+ ("kparts" ,kparts)
+ ("kpimcommon" ,kpimcommon)
+ ("kpimtextedit" ,kpimtextedit)
+ ("kservice" ,kservice)
+ ("kwallet" ,kwallet)
+ ("kwidgetsaddons" ,kwidgetsaddons)
+ ("kwindowsystem" ,kwindowsystem)
+ ("kxmlgui" ,kxmlgui)
+ ("libkdepim" ,libkdepim)
+ ("oxygen-icons" ,oxygen-icons) ; default icon set, required for tests
+ ("phonon" ,phonon)
+ ("qtbase" ,qtbase)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'disable-failing-test
+ (lambda _
+ ;; FIXME: This test started failing after the 20.04 update
+ ;; seemingly due to DBus communication issues.
+ ;; See also 'akonadi-search' for a similar test failure.
+ (substitute* "src/autotests/CMakeLists.txt"
+ ((".*test_advanced\\(koeventpopupmenutest\\.cpp.*")
+ ""))
+ #t))
+ (replace 'check
+ (lambda _
+ (invoke "dbus-launch" "ctest" ".")
+ #t)))))
+ (home-page "https://kontact.kde.org/components/korganizer.html")
+ (synopsis "Organizational assistant, providing calendars and other similar
+functionality to help you organize your life.")
+ (description "KOrganizer is the calendar and scheduling component of
+Kontact. It provides management of events and tasks, alarm notification, web
+export, network transparent handling of data, group scheduling, import and
+export of calendar files and more. It is able to work together with a wide
+variety of calendaring services, including NextCloud, Kolab, Google Calendar
+and others. KOrganizer is fully customizable to your needs and is an integral
+part of the Kontact suite, which aims to be a complete solution for organizing
+your personal data. KOrganizer supports the two dominant standards for storing
+and exchanging calendar data, vCalendar and iCalendar.")
+ (license ;; GPL for programs, LGPL for libraries, FDL for documentation
+ (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
+
+(define-public kpeoplevcard
+ (package
+ (name "kpeoplevcard")
+ (version "0.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://download.kde.org/stable/kpeoplevcard/"
+ version "/kpeoplevcard-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1hv3fq5k0pps1wdvq9r1zjnr0nxf8qc3vwsnzh9jpvdy79ddzrcd"))))
+ (build-system qt-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (replace 'check-setup
+ (lambda _
+ (setenv "HOME" "/tmp")
+ #t)))))
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)))
+ (inputs
+ `(("kcontacts" ,kcontacts)
+ ("kpeople" ,kpeople)
+ ("qtbase" ,qtbase)))
+ (home-page "https://invent.kde.org/pim/kpeoplevcard")
+ (synopsis "Expose vCard contacts to KPeople")
+ (description
+ "This plugins adds support for vCard (also known as @acronym{VCF,
+Virtual Contact File}) files to the KPeople contact management library.")
+ (license license:lgpl2.1+)))
+