args: with args; stdenv.mkDerivation rec { name = "kdelibs-4.0.0"; src = fetchurl { url = http://download.kde.org/stable/4.0.0/src/kdelibs-4.0.0.tar.bz2; md5 = "79d0f83ca81fc4a135663943340c0b8f"; }; propagatedBuildInputs = [ cmake inputproto kbproto scrnsaverproto xextproto xf86miscproto xf86vidmodeproto xineramaproto xproto libICE libX11 libXau libXcomposite libXcursor libXdamage libXdmcp libXext libXfixes libXft libXi libXpm libXrandr libXrender libXScrnSaver libXt libXtst libXv libXxf86misc libxkbfile zlib perl qt openssl pcre pkgconfig libjpeg libpng libtiff libxml2 libxslt expat libtool freetype bzip2 shared_mime_info alsaLib libungif cups gettext enchant openexr aspell stdenv.gcc.libc ] ++ kdesupport.all; patchPhase = "cp ${findIlmBase} ../cmake/modules/FindIlmBase.cmake; cp $findOpenEXR ../cmake/modules/FindOpenEXR.cmake; sed -e 's@Soprano/DummyModel@Soprano/Util/DummyModel@' -i ../nepomuk/core/resourcemanager.cpp;"; findIlmBase = ./FindIlmBase.cmake; findOpenEXR = ./FindOpenEXR.cmake; setupHook=./setup.sh; }