3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/kde/kmail.nix
2021-06-18 11:44:17 +02:00

111 lines
1.8 KiB
Nix

{ mkDerivation
, lib
, akonadi
, akonadi-import-wizard
, akonadi-search
, extra-cmake-modules
, kaddressbook
, kbookmarks
, kcalutils
, kcmutils
, kcompletion
, kconfig
, kconfigwidgets
, kcoreaddons
, kdepim-addons
, kdepim-runtime
, kdepimTeam
, kdoctools
, kguiaddons
, ki18n
, kiconthemes
, kinit
, kio
, kldap
, kleopatra
, kmail-account-wizard
, kmailtransport
, knotifications
, knotifyconfig
, kontactinterface
, kparts
, kpty
, kservice
, ktextwidgets
, ktnef
, kwallet
, kwidgetsaddons
, kwindowsystem
, kxmlgui
, libgravatar
, libkdepim
, libksieve
, libsecret
, mailcommon
, messagelib
, pim-data-exporter
, pim-sieve-editor
, qtkeychain
, qtscript
, qtwebengine
}:
mkDerivation {
pname = "kmail";
meta = {
license = with lib.licenses; [ gpl2 lgpl21 fdl12 ];
maintainers = kdepimTeam;
};
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [
akonadi-search
kbookmarks
kcalutils
kcmutils
kcompletion
kconfig
kconfigwidgets
kcoreaddons
kdepim-addons
kguiaddons
ki18n
kiconthemes
kinit
kio
kldap
kmail-account-wizard
kmailtransport
knotifications
knotifyconfig
kontactinterface
kparts
kpty
kservice
ktextwidgets
ktnef
kwidgetsaddons
kwindowsystem
kxmlgui
libgravatar
libkdepim
libksieve
libsecret
mailcommon
messagelib
pim-sieve-editor
qtkeychain
qtscript
qtwebengine
akonadi-import-wizard
kaddressbook
kleopatra
pim-data-exporter
];
outputs = [ "out" "doc" ];
propagatedUserEnvPkgs = [ kdepim-runtime kwallet akonadi ];
postFixup = ''
wrapProgram "$out/bin/kmail" \
--prefix PATH : "${lib.makeBinPath [ akonadi akonadi-import-wizard kaddressbook kleopatra kmail-account-wizard pim-data-exporter ]}"
'';
}