nixpkgs/pkgs/desktops/kde-4/default.nix
Yury G. Kudryashov 7c4ac4d14b kde-4: l10n added, various updates
svn path=/nixpkgs/branches/stdenv-updates/; revision=10243
2008-01-22 13:10:14 +00:00

36 lines
1.6 KiB
Nix

args:
rec {
fullargs = args // { kdelibs = libs; kdepimlibs = pimlibs; kdebase = base; kderuntime = runtime; };
libs = import ./libs (args // { kdesupport = support; });
l10n = import ./l10n (args // {kdelibs = libs;});
pimlibs = import ./pimlibs (args // { kdelibs = libs; });
graphics = import ./graphics (fullargs // { kdeworkspace = workspace; } );
multimedia = import ./multimedia (fullargs // { kdeworkspace = workspace; } );
toys = import ./toys (fullargs // { kdeworkspace = workspace; } );
network = import ./network (fullargs // { kdeworkspace = workspace; } );
utils = import ./utils (fullargs // { kdeworkspace = workspace; } );
games = import ./games (fullargs // { kdeworkspace = workspace; } );
edu = import ./edu (fullargs // { kdeworkspace = workspace; } );
base = import ./base fullargs;
runtime = import ./runtime fullargs;
workspace = import ./workspace fullargs;
extragear_plasma = import ./extragear (fullargs // { kdeworkspace = workspace; });
support = import ./support args;
decibel = import ./decibel fullargs;
# kdepim is not included in KDE-4.0.0
#pim = import ./pim (fullargs // {kdeworkspace = workspace; });
env = kde_pkgs: with args; [ (runCommand "kde-env"
{
KDEDIRS = lib.concatStringsSep ":" (kde_pkgs ++ support.all);
scriptName = "echo-kde-dirs";
}
"
ensureDir \${out}/bin
scriptPath=\${out}/bin/\${scriptName}
echo \"#!/bin/sh\" > \${scriptPath}
echo \"echo -n export KDEDIRS=\${KDEDIRS}\" >> \${scriptPath}
chmod +x \${scriptPath}
")] ++ kde_pkgs ++ support.all ++ [shared_mime_info qt xprop xset];
}