nixpkgs/pkgs/applications/kde/kalendar.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

104 lines
1.7 KiB
Nix
Raw Normal View History

2021-12-02 19:15:18 +01:00
{ lib
, mkDerivation
, fetchFromGitLab
, cmake
, extra-cmake-modules
, makeWrapper
, qtbase
, qtquickcontrols2
, qtsvg
, qtlocation
, qtdeclarative
2022-02-13 17:42:11 +01:00
, qqc2-desktop-style
2021-12-02 19:15:18 +01:00
, kirigami2
, kdbusaddons
, ki18n
, kcalendarcore
, kconfigwidgets
, kwindowsystem
, kcoreaddons
, kcontacts
, kitemmodels
, kxmlgui
, knotifications
, kiconthemes
, kservice
, kmime
, kpackage
, eventviews
, calendarsupport
, akonadi
, akonadi-search
2021-12-02 19:15:18 +01:00
, akonadi-contacts
, akonadi-calendar-tools
, kdepim-runtime
2022-12-12 21:10:28 +01:00
, gpgme
, pimcommon
, mailcommon
, messagelib
2021-12-02 19:15:18 +01:00
}:
mkDerivation rec {
pname = "kalendar";
nativeBuildInputs = [
cmake
extra-cmake-modules
makeWrapper
];
buildInputs = [
qtbase
qtquickcontrols2
qtsvg
qtlocation
qtdeclarative
2022-02-13 17:42:11 +01:00
qqc2-desktop-style
2021-12-02 19:15:18 +01:00
kirigami2
kdbusaddons
ki18n
kcalendarcore
kconfigwidgets
kwindowsystem
kcoreaddons
kcontacts
kitemmodels
kxmlgui
knotifications
kiconthemes
kservice
kmime
kpackage
eventviews
calendarsupport
akonadi-search
2021-12-02 19:15:18 +01:00
akonadi-contacts
akonadi-calendar-tools
kdepim-runtime
2022-12-12 21:10:28 +01:00
gpgme
pimcommon
mailcommon
messagelib
2021-12-02 19:15:18 +01:00
];
propagatedUserEnvPkgs = [ akonadi kdepim-runtime akonadi-search ];
postFixup = ''
wrapProgram "$out/bin/kalendar" \
--prefix PATH : "${lib.makeBinPath [ akonadi kdepim-runtime akonadi-search ]}"
'';
2021-12-02 19:15:18 +01:00
meta = with lib; {
description = "A calendar application using Akonadi to sync with external services (Nextcloud, GMail, ...)";
homepage = "https://apps.kde.org/kalendar/";
2021-12-02 19:15:18 +01:00
license = licenses.gpl3Plus;
maintainers = with maintainers; [ chuangzhu ];
platforms = platforms.linux;
};
}