2017-05-10 00:35:46 +01:00
|
|
|
{
|
|
|
|
mkDerivation, lib, kdepimTeam,
|
|
|
|
extra-cmake-modules, kdoctools,
|
|
|
|
akonadi, akonadi-mime, karchive, kcodecs, kcompletion, kconfigwidgets,
|
|
|
|
kdbusaddons, kdesignerplugin, kiconthemes, kio, kitemmodels, kldap,
|
2017-08-20 10:54:35 +01:00
|
|
|
kmailtransport, kwindowsystem, mailimporter, messagelib, phonon, libkdepim
|
2017-05-10 00:35:46 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation {
|
2020-12-24 23:05:07 +00:00
|
|
|
pname = "mailcommon";
|
2017-05-10 00:35:46 +01:00
|
|
|
meta = {
|
2022-10-27 21:47:29 +01:00
|
|
|
license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
|
2017-05-10 00:35:46 +01:00
|
|
|
maintainers = kdepimTeam;
|
|
|
|
};
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
|
|
|
buildInputs = [
|
|
|
|
akonadi akonadi-mime karchive kcodecs kcompletion kconfigwidgets kdbusaddons
|
|
|
|
kdesignerplugin kiconthemes kio kitemmodels kldap kmailtransport
|
2017-08-20 10:54:35 +01:00
|
|
|
kwindowsystem mailimporter messagelib phonon libkdepim
|
2017-05-10 00:35:46 +01:00
|
|
|
];
|
|
|
|
outputs = [ "out" "dev" ];
|
2023-03-17 22:39:35 +00: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 00:35:46 +01:00
|
|
|
}
|