2010-02-10 16:06:50 +01:00
|
|
|
{ stdenv, fetchurl, lib, cmake, qt4, perl, boost, gpgme, libassuan, libgpgerror, libxslt
|
|
|
|
, shared_mime_info, libXScrnSaver
|
2010-09-23 00:55:42 +02:00
|
|
|
, kdelibs, kdepimlibs, kdepim_runtime, automoc4, phonon, akonadi, strigi, soprano, qca2}:
|
2010-02-10 16:06:50 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2010-07-02 22:46:42 +02:00
|
|
|
name = "kdepim-4.4.5";
|
2010-02-10 16:06:50 +01:00
|
|
|
src = fetchurl {
|
2010-07-02 22:46:42 +02:00
|
|
|
url = mirror://kde/stable/4.4.5/src/kdepim-4.4.5.tar.bz2;
|
|
|
|
sha256 = "0n95wjk1ly7zfn9wv589a9hrc0r7wvik7jrvsgimnxr0rapxk3bp";
|
2010-02-10 16:06:50 +01:00
|
|
|
};
|
2010-09-26 07:07:41 +02:00
|
|
|
|
2010-08-19 00:52:59 +02:00
|
|
|
cmakeFlags = "-DBUILD_kleopatra=OFF"; # doesn't build with new boost
|
2010-02-10 16:06:50 +01:00
|
|
|
buildInputs = [ cmake qt4 perl boost gpgme stdenv.gcc.libc libassuan libgpgerror libxslt
|
|
|
|
shared_mime_info libXScrnSaver
|
2010-09-26 07:07:41 +02:00
|
|
|
kdelibs kdepimlibs automoc4 phonon akonadi strigi soprano qca2 ];
|
|
|
|
patchPhase = ''
|
|
|
|
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-02-10 16:06:50 +01:00
|
|
|
meta = {
|
|
|
|
description = "KDE PIM tools";
|
|
|
|
longDescription = ''
|
|
|
|
Contains various personal information management tools for KDE, such as an organizer
|
|
|
|
'';
|
|
|
|
license = "GPL";
|
|
|
|
homepage = http://www.kde.org;
|
2010-08-03 15:11:58 +02:00
|
|
|
inherit (kdelibs.meta) maintainers platforms;
|
2010-02-10 16:06:50 +01:00
|
|
|
};
|
|
|
|
}
|