My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/applications/kde/kalendar.nix

94 lines
1.6 KiB

{ 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;
};
}