2017-05-10 20:35:24 +02:00
|
|
|
{
|
2021-11-13 23:28:25 +01:00
|
|
|
mkDerivation, lib, kdepimTeam,
|
2017-05-10 20:35:24 +02:00
|
|
|
extra-cmake-modules, kdoctools,
|
2021-01-31 16:03:32 +01:00
|
|
|
akonadi, akonadi-calendar, akonadi-mime, akonadi-notes, kcalutils,
|
2017-05-10 20:35:24 +02:00
|
|
|
kholidays, kidentitymanagement, kmime, pimcommon, qttools,
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation {
|
2020-12-25 00:05:07 +01:00
|
|
|
pname = "calendarsupport";
|
2017-05-10 20:35:24 +02:00
|
|
|
meta = {
|
2022-10-27 22:47:29 +02:00
|
|
|
license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
|
2017-05-10 20:35:24 +02:00
|
|
|
maintainers = kdepimTeam;
|
|
|
|
};
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
|
|
|
buildInputs = [
|
2021-01-31 16:03:32 +01:00
|
|
|
akonadi akonadi-mime akonadi-notes kcalutils kholidays pimcommon qttools
|
2017-05-10 20:35:24 +02:00
|
|
|
];
|
|
|
|
propagatedBuildInputs = [ akonadi-calendar kidentitymanagement kmime ];
|
|
|
|
outputs = [ "out" "dev" ];
|
2023-03-17 23:39:35 +01:00
|
|
|
postInstall = ''
|
|
|
|
# added as an include directory by cmake files and fails to compile if it's missing
|
|
|
|
mkdir -p "$dev/include/KF5"
|
|
|
|
'';
|
2017-05-10 20:35:24 +02:00
|
|
|
}
|