diff options
author | K900 <me@0upti.me> | 2023-04-20 12:41:57 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2023-04-20 12:41:57 +0300 |
commit | e61a9650eed57e17e54e0b04aede7ecebe87f787 (patch) | |
tree | 7e16028aece3715341d6fe0c45ca5a7fbb8cf030 /pkgs/applications/maui/mauikit-calendar | |
parent | 449e8cd8d1fa878f0071943450b75754c525e61e (diff) |
mauikit-calendar: fix missing dependency specification
Diffstat (limited to 'pkgs/applications/maui/mauikit-calendar')
-rw-r--r-- | pkgs/applications/maui/mauikit-calendar/add-akonadi-calendar.patch | 10 | ||||
-rw-r--r-- | pkgs/applications/maui/mauikit-calendar/default.nix | 40 |
2 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/applications/maui/mauikit-calendar/add-akonadi-calendar.patch b/pkgs/applications/maui/mauikit-calendar/add-akonadi-calendar.patch new file mode 100644 index 000000000000..0feb15b615fe --- /dev/null +++ b/pkgs/applications/maui/mauikit-calendar/add-akonadi-calendar.patch @@ -0,0 +1,10 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -89,6 +89,7 @@ set_package_properties(Qt5QuickCompiler PROPERTIES + find_package(MauiKit) + + find_package(KF5Akonadi ${AKONADI_VERSION} CONFIG REQUIRED) ++find_package(KF5AkonadiCalendar ${AKONADI_VERSION} CONFIG REQUIRED) + find_package(KF5AkonadiContact ${AKONADI_CONTACT_VERSION} CONFIG REQUIRED) + find_package(KF5CalendarSupport ${CALENDARSUPPORT_LIB_VERSION} CONFIG REQUIRED) + find_package(KF5EventViews ${EVENTVIEW_LIB_VERSION} CONFIG REQUIRED)
\ No newline at end of file diff --git a/pkgs/applications/maui/mauikit-calendar/default.nix b/pkgs/applications/maui/mauikit-calendar/default.nix new file mode 100644 index 000000000000..e9ea61592c0d --- /dev/null +++ b/pkgs/applications/maui/mauikit-calendar/default.nix @@ -0,0 +1,40 @@ +{ lib +, mkDerivation +, cmake +, extra-cmake-modules +, mauikit +, qtquickcontrols2 +, akonadi +, akonadi-contacts +, akonadi-calendar +, calendarsupport +, eventviews +}: + +mkDerivation { + pname = "mauikit-calendar"; + + patches = [ ./add-akonadi-calendar.patch ]; + + nativeBuildInputs = [ + cmake + extra-cmake-modules + ]; + + buildInputs = [ + akonadi + akonadi-contacts + akonadi-calendar + calendarsupport + eventviews + mauikit + qtquickcontrols2 + ]; + + meta = with lib; { + homepage = "https://invent.kde.org/maui/mauikit-calendar"; + description = "Calendar support components for Maui applications"; + license = licenses.lgpl21Plus; + maintainers = with maintainers; [ onny ]; + }; +} |