2017-05-10 00:24:46 +01:00
|
|
|
{
|
2020-08-25 10:43:59 +01:00
|
|
|
mkDerivation, lib, kdepimTeam,
|
2020-12-29 23:43:33 +00:00
|
|
|
extra-cmake-modules, shared-mime-info, qtbase, accounts-qt,
|
|
|
|
boost, kaccounts-integration, kcompletion, kconfigwidgets, kcrash, kdbusaddons,
|
2021-03-14 16:11:57 +00:00
|
|
|
kdesignerplugin, ki18n, kiconthemes, kio, kitemmodels, kwindowsystem, mariadb, qttools,
|
2021-01-31 20:38:29 +00:00
|
|
|
signond, lzma,
|
2017-05-10 00:24:46 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation {
|
2020-12-24 23:05:07 +00:00
|
|
|
pname = "akonadi";
|
2017-05-10 00:24:46 +01:00
|
|
|
meta = {
|
|
|
|
license = [ lib.licenses.lgpl21 ];
|
2017-06-21 14:38:39 +01:00
|
|
|
maintainers = kdepimTeam;
|
2020-11-18 15:11:55 +00:00
|
|
|
broken = lib.versionOlder qtbase.version "5.13";
|
2017-05-10 00:24:46 +01:00
|
|
|
};
|
2020-07-13 17:48:47 +01:00
|
|
|
patches = [
|
|
|
|
./0001-akonadi-paths.patch
|
|
|
|
./0002-akonadi-timestamps.patch
|
|
|
|
./0003-akonadi-revert-make-relocatable.patch
|
|
|
|
];
|
2018-02-25 02:23:58 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules shared-mime-info ];
|
2017-05-10 00:24:46 +01:00
|
|
|
buildInputs = [
|
2020-12-29 23:43:33 +00:00
|
|
|
kaccounts-integration kcompletion kconfigwidgets kcrash kdbusaddons kdesignerplugin
|
2021-01-31 20:38:29 +00:00
|
|
|
ki18n kiconthemes kio kwindowsystem lzma accounts-qt qttools signond
|
2017-05-10 00:24:46 +01:00
|
|
|
];
|
|
|
|
propagatedBuildInputs = [ boost kitemmodels ];
|
2017-06-21 14:44:44 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
2018-01-19 09:00:03 +00:00
|
|
|
CXXFLAGS = [
|
2021-03-14 16:11:57 +00:00
|
|
|
''-DNIXPKGS_MYSQL_MYSQLD=\"${lib.getBin mariadb}/bin/mysqld\"''
|
|
|
|
''-DNIXPKGS_MYSQL_MYSQLADMIN=\"${lib.getBin mariadb}/bin/mysqladmin\"''
|
|
|
|
''-DNIXPKGS_MYSQL_MYSQL_INSTALL_DB=\"${lib.getBin mariadb}/bin/mysql_install_db\"''
|
|
|
|
''-DNIXPKGS_MYSQL_MYSQLCHECK=\"${lib.getBin mariadb}/bin/mysqlcheck\"''
|
2018-01-19 09:00:03 +00:00
|
|
|
''-DNIXPKGS_POSTGRES_PG_CTL=\"\"''
|
2019-08-16 12:52:03 +01:00
|
|
|
''-DNIXPKGS_POSTGRES_PG_UPGRADE=\"\"''
|
2018-01-19 09:00:03 +00:00
|
|
|
''-DNIXPKGS_POSTGRES_INITDB=\"\"''
|
2017-05-10 00:24:46 +01:00
|
|
|
];
|
|
|
|
preConfigure = ''
|
|
|
|
NIX_CFLAGS_COMPILE+=" -DNIX_OUT=\"$out\""
|
|
|
|
'';
|
|
|
|
}
|