2020-04-24 23:36:52 +00:00
|
|
|
{
|
2020-09-25 04:45:31 +00:00
|
|
|
mkDerivation, lib, kdepimTeam,
|
2021-01-05 17:05:55 +00:00
|
|
|
extra-cmake-modules, shared-mime-info, qtbase, accounts-qt,
|
|
|
|
boost, kaccounts-integration, kcompletion, kconfigwidgets, kcrash, kdbusaddons,
|
|
|
|
kdesignerplugin, ki18n, kiconthemes, kio, kitemmodels, kwindowsystem, mysql, qttools,
|
2021-03-09 03:18:52 +00:00
|
|
|
signond, lzma,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation {
|
2021-01-05 17:05:55 +00:00
|
|
|
pname = "akonadi";
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
|
|
|
license = [ lib.licenses.lgpl21 ];
|
|
|
|
maintainers = kdepimTeam;
|
2020-11-30 08:33:03 +00:00
|
|
|
broken = lib.versionOlder qtbase.version "5.13";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2020-07-18 16:06:22 +00:00
|
|
|
patches = [
|
|
|
|
./0001-akonadi-paths.patch
|
|
|
|
./0002-akonadi-timestamps.patch
|
|
|
|
./0003-akonadi-revert-make-relocatable.patch
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules shared-mime-info ];
|
|
|
|
buildInputs = [
|
2021-01-05 17:05:55 +00:00
|
|
|
kaccounts-integration kcompletion kconfigwidgets kcrash kdbusaddons kdesignerplugin
|
2021-03-09 03:18:52 +00:00
|
|
|
ki18n kiconthemes kio kwindowsystem lzma accounts-qt qttools signond
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
propagatedBuildInputs = [ boost kitemmodels ];
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
CXXFLAGS = [
|
|
|
|
''-DNIXPKGS_MYSQL_MYSQLD=\"${lib.getBin mysql}/bin/mysqld\"''
|
|
|
|
''-DNIXPKGS_MYSQL_MYSQLADMIN=\"${lib.getBin mysql}/bin/mysqladmin\"''
|
|
|
|
''-DNIXPKGS_MYSQL_MYSQL_INSTALL_DB=\"${lib.getBin mysql}/bin/mysql_install_db\"''
|
|
|
|
''-DNIXPKGS_MYSQL_MYSQLCHECK=\"${lib.getBin mysql}/bin/mysqlcheck\"''
|
|
|
|
''-DNIXPKGS_POSTGRES_PG_CTL=\"\"''
|
|
|
|
''-DNIXPKGS_POSTGRES_PG_UPGRADE=\"\"''
|
|
|
|
''-DNIXPKGS_POSTGRES_INITDB=\"\"''
|
|
|
|
];
|
|
|
|
preConfigure = ''
|
|
|
|
NIX_CFLAGS_COMPILE+=" -DNIX_OUT=\"$out\""
|
|
|
|
'';
|
|
|
|
}
|