2017-05-09 23:29:48 +00:00
|
|
|
{
|
|
|
|
mkDerivation, lib, kdepimTeam,
|
|
|
|
extra-cmake-modules, kdoctools,
|
2018-08-20 11:44:05 +00:00
|
|
|
akonadi, akonadi-mime, cyrus_sasl, kcmutils,
|
|
|
|
ki18n, kio, kmime, kwallet, ksmtp, libkgapi,
|
2021-04-29 13:41:02 +00:00
|
|
|
kcalendarcore, kcontacts, qtkeychain, libsecret
|
2017-05-09 23:29:48 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation {
|
2020-12-24 23:05:07 +00:00
|
|
|
pname = "kmailtransport";
|
2017-05-09 23:29:48 +00:00
|
|
|
meta = {
|
2022-10-27 20:47:29 +00:00
|
|
|
license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
|
2017-05-09 23:29:48 +00:00
|
|
|
maintainers = kdepimTeam;
|
|
|
|
};
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
2021-04-29 13:41:02 +00:00
|
|
|
buildInputs = [
|
|
|
|
akonadi kcmutils ki18n kio ksmtp libkgapi kcalendarcore kcontacts
|
|
|
|
qtkeychain libsecret
|
|
|
|
];
|
2017-05-09 23:29:48 +00:00
|
|
|
propagatedBuildInputs = [ akonadi-mime cyrus_sasl kmime kwallet ];
|
|
|
|
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-09 23:29:48 +00:00
|
|
|
}
|