nixpkgs/pkgs/desktops/kde-4.4/base-workspace/default.nix
Yury G. Kudryashov 75bc6a2f78 Inherit some metadata from kdelibs
svn path=/nixpkgs/trunk/; revision=22927
2010-08-03 13:11:58 +00:00

29 lines
1.2 KiB
Nix

{ stdenv, fetchurl, lib, cmake, perl, python, pam, consolekit
, qt4, sip, pyqt4, kdelibs, kdepimlibs, kdebindings
, libXi, libXau, libXdmcp, libXtst, libXcomposite, libXdamage, libXScrnSaver
, lm_sensors, libxklavier, libusb, libpthreadstubs, boost
, automoc4, phonon, strigi, soprano, qimageblitz, akonadi, polkit_qt
}:
stdenv.mkDerivation {
name = "kdebase-workspace-4.4.5";
src = fetchurl {
url = mirror://kde/stable/4.4.5/src/kdebase-workspace-4.4.5.tar.bz2;
sha256 = "1ri0ghvbnjflpqzwgyhs3bl17gh2cvjffkcd6w0yymarv6n5sisk";
};
buildInputs = [ cmake perl python qt4 pam consolekit sip pyqt4 kdelibs libXtst
kdepimlibs kdebindings boost libusb stdenv.gcc.libc libXi libXau libXdmcp
libXcomposite libXdamage libXScrnSaver lm_sensors libxklavier automoc4
phonon strigi soprano qimageblitz akonadi polkit_qt libpthreadstubs ];
patchPhase=''
sed -i -e 's|''${PYTHON_SITE_PACKAGES_DIR}|''${CMAKE_INSTALL_PREFIX}/lib/python2.6/site-packages|' \
plasma/generic/scriptengines/python/CMakeLists.txt
'';
meta = {
description = "KDE Workspace";
longDescription = "KDE base components that are only required to work with X11 such KDM and KWin";
license = "GPL";
inherit (kdelibs.meta) maintainers platforms;
};
}