diff options
author | André Vitor de Lima Matos <andre.vmatos@gmail.com> | 2022-04-21 13:42:02 -0300 |
---|---|---|
committer | André Vitor de Lima Matos <andre.vmatos@gmail.com> | 2022-04-24 19:05:45 -0300 |
commit | 18d5c05315ce4e84bc0d7e040e5cf7561f3d8bfc (patch) | |
tree | 8a2962af124ded5aa5a8900f80cab8e94ed3bfc8 /pkgs/applications/kde | |
parent | 25278f97f4f5592ed1913dc4a84f54b6d9456c3a (diff) |
kalendar: move into/use kde/gear distribution from 22.04
Diffstat (limited to 'pkgs/applications/kde')
-rw-r--r-- | pkgs/applications/kde/default.nix | 1 | ||||
-rw-r--r-- | pkgs/applications/kde/kalendar.nix | 94 |
2 files changed, 95 insertions, 0 deletions
diff --git a/pkgs/applications/kde/default.nix b/pkgs/applications/kde/default.nix index 7f0559c83c429..933f8e46fe229 100644 --- a/pkgs/applications/kde/default.nix +++ b/pkgs/applications/kde/default.nix @@ -97,6 +97,7 @@ let kaccounts-providers = callPackage ./kaccounts-providers.nix {}; kaddressbook = callPackage ./kaddressbook.nix {}; kalarm = callPackage ./kalarm.nix {}; + kalendar = callPackage ./kalendar.nix {}; kalzium = callPackage ./kalzium.nix {}; kamoso = callPackage ./kamoso.nix {}; kapman = callPackage ./kapman.nix {}; diff --git a/pkgs/applications/kde/kalendar.nix b/pkgs/applications/kde/kalendar.nix new file mode 100644 index 0000000000000..a762d605a32b7 --- /dev/null +++ b/pkgs/applications/kde/kalendar.nix @@ -0,0 +1,94 @@ +{ lib +, mkDerivation +, fetchFromGitLab +, cmake +, extra-cmake-modules +, makeWrapper + +, qtbase +, qtquickcontrols2 +, qtsvg +, qtlocation +, qtdeclarative +, qqc2-desktop-style + +, kirigami2 +, kdbusaddons +, ki18n +, kcalendarcore +, kconfigwidgets +, kwindowsystem +, kcoreaddons +, kcontacts +, kitemmodels +, kxmlgui +, knotifications +, kiconthemes +, kservice +, kmime +, kpackage +, eventviews +, calendarsupport + +, akonadi +, akonadi-search +, akonadi-contacts +, akonadi-calendar-tools +, kdepim-runtime +}: + +mkDerivation rec { + pname = "kalendar"; + + nativeBuildInputs = [ + cmake + extra-cmake-modules + makeWrapper + ]; + + buildInputs = [ + qtbase + qtquickcontrols2 + qtsvg + qtlocation + qtdeclarative + qqc2-desktop-style + + kirigami2 + kdbusaddons + ki18n + kcalendarcore + kconfigwidgets + kwindowsystem + kcoreaddons + kcontacts + kitemmodels + kxmlgui + knotifications + kiconthemes + kservice + kmime + kpackage + eventviews + calendarsupport + + akonadi-search + akonadi-contacts + akonadi-calendar-tools + kdepim-runtime + ]; + + propagatedUserEnvPkgs = [ akonadi kdepim-runtime akonadi-search ]; + postFixup = '' + wrapProgram "$out/bin/kalendar" \ + --prefix PATH : "${lib.makeBinPath [ akonadi kdepim-runtime akonadi-search ]}" + ''; + + meta = with lib; { + description = "A calendar application using Akonadi to sync with external services (Nextcloud, GMail, ...)"; + homepage = "https://apps.kde.org/kalendar/"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ chuangzhu ]; + platforms = platforms.linux; + }; +} |