2010-10-10 07:03:07 +02:00
|
|
|
{ kde, cmake, perl, boost, gpgme, libassuan, libgpgerror, libxslt
|
|
|
|
, shared_mime_info, libXScrnSaver, kdelibs, kdepimlibs, kdepim_runtime
|
|
|
|
, automoc4, akonadi, qca2}:
|
2010-09-09 22:04:56 +02:00
|
|
|
|
|
|
|
kde.package {
|
|
|
|
|
2010-10-10 07:03:07 +02:00
|
|
|
buildInputs = [ cmake boost gpgme libassuan libgpgerror libxslt
|
|
|
|
shared_mime_info libXScrnSaver kdelibs kdepimlibs automoc4 akonadi ];
|
|
|
|
prePatch = ''
|
|
|
|
find .. -name CMakeLists.txt | xargs sed -i -e "s@DESTINATION \''${KDE4_DBUS_INTERFACES_DIR}@DESTINATION \''${CMAKE_INSTALL_PREFIX}/share/dbus-1/interfaces/@"
|
|
|
|
'';
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/nix-support/
|
|
|
|
echo ${akonadi} ${kdepimlibs} ${kdepim_runtime} > $out/nix-support/propagated-user-env-packages
|
|
|
|
'';
|
2010-09-09 22:04:56 +02:00
|
|
|
meta = {
|
2010-10-10 07:03:07 +02:00
|
|
|
description = "KDE PIM tools";
|
|
|
|
longDescription = ''
|
|
|
|
Contains various personal information management tools for KDE, such as an organizer
|
|
|
|
'';
|
|
|
|
license = "GPL";
|
|
|
|
homepage = http://pim.kde.org;
|
2010-09-09 22:04:56 +02:00
|
|
|
kde = rec {
|
|
|
|
name = "kdepim";
|
2010-10-23 20:48:49 +02:00
|
|
|
version = "4.4.7";
|
2010-10-23 22:50:06 +02:00
|
|
|
subdir = "kdepim-${version}/src";
|
2010-09-09 22:04:56 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|