nixpkgs/pkgs/desktops/kde-4.4/pim/default.nix
Evgeny Egorochkin 8a68518454 Samba: option to compile winbind which is used by some apps under Wine
svn path=/nixpkgs/trunk/; revision=23935
2010-09-26 05:07:41 +00:00

33 lines
1.3 KiB
Nix

{ stdenv, fetchurl, lib, cmake, qt4, perl, boost, gpgme, libassuan, libgpgerror, libxslt
, shared_mime_info, libXScrnSaver
, kdelibs, kdepimlibs, kdepim_runtime, automoc4, phonon, akonadi, strigi, soprano, qca2}:
stdenv.mkDerivation {
name = "kdepim-4.4.5";
src = fetchurl {
url = mirror://kde/stable/4.4.5/src/kdepim-4.4.5.tar.bz2;
sha256 = "0n95wjk1ly7zfn9wv589a9hrc0r7wvik7jrvsgimnxr0rapxk3bp";
};
cmakeFlags = "-DBUILD_kleopatra=OFF"; # doesn't build with new boost
buildInputs = [ cmake qt4 perl boost gpgme stdenv.gcc.libc libassuan libgpgerror libxslt
shared_mime_info libXScrnSaver
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
'';
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;
inherit (kdelibs.meta) maintainers platforms;
};
}