nixpkgs/pkgs/desktops/kde-4.2/base-workspace/default.nix
Lluís Batlle i Rossell abed7b8441 Made kde-4.2 packages work, adding the proper derivation attribute to get all qt include
paths into NIX_CFLAGS_COMPILE. This helps build kde42 packages, because they have a broken
FindQt4.cmake, which doesn't find properly the qt4 header files.

svn path=/nixpkgs/trunk/; revision=15841
2009-06-03 17:33:54 +00:00

19 lines
883 B
Nix

{stdenv, fetchurl, cmake, perl, python, pam, ConsoleKit,
qt4, sip, pyqt4, kdelibs, kdepimlibs, kdebindings,
libXi, libXau, libXdmcp, libXtst, libXcomposite, libXdamage, libXScrnSaver,
lm_sensors, libxklavier, libusb, pthread_stubs, boost,
automoc4, phonon, strigi, soprano, qimageblitz}:
stdenv.mkDerivation {
name = "kdebase-workspace-4.2.3";
src = fetchurl {
url = mirror://kde/stable/4.2.3/src/kdebase-workspace-4.2.3.tar.bz2;
sha1 = "0c92579c651c5a08ff6440762eb5c2ad9d5bc0ad";
};
includeAllQtDirs=true;
CMAKE_PREFIX_PATH=kdepimlibs;
buildInputs = [ cmake perl python qt4 pam /*ConsoleKit sip pyqt4*/ kdelibs kdepimlibs /*kdebindings*/ pthread_stubs boost libusb stdenv.gcc.libc
libXi libXau libXdmcp libXtst libXcomposite libXdamage libXScrnSaver
lm_sensors libxklavier automoc4 phonon strigi soprano qimageblitz ];
}