2010-10-14 16:49:41 +00:00
|
|
|
{ callPackage, recurseIntoAttrs, runCommand, stdenv, fetchurl, qt47 } :
|
2010-08-02 17:11:19 +00:00
|
|
|
|
2010-10-14 16:49:41 +00:00
|
|
|
let
|
|
|
|
|
2011-02-02 13:54:35 +00:00
|
|
|
release = "4.5.5";
|
2010-10-14 16:49:41 +00:00
|
|
|
|
|
|
|
# Various packages (e.g. kdesdk) have been split up into many
|
|
|
|
# smaller packages. Some people may want to install the entire
|
|
|
|
# package, so provide a wrapper package that recombines them.
|
|
|
|
combinePkgs = name: pkgs:
|
|
|
|
let pkgs' = stdenv.lib.attrValues pkgs; in
|
2011-02-02 13:54:35 +00:00
|
|
|
runCommand "${name}-${release}" ({ passthru = pkgs // { inherit pkgs; }; })
|
2010-10-14 16:49:41 +00:00
|
|
|
''
|
|
|
|
mkdir -p $out/nix-support
|
|
|
|
echo ${toString pkgs'} > $out/nix-support/propagated-user-env-packages
|
|
|
|
'';
|
|
|
|
|
|
|
|
in
|
|
|
|
|
|
|
|
recurseIntoAttrs rec {
|
2010-08-03 14:02:42 +00:00
|
|
|
recurseForRelease = true;
|
2010-08-02 17:11:19 +00:00
|
|
|
|
2010-10-05 17:44:11 +00:00
|
|
|
inherit callPackage stdenv;
|
2010-08-29 21:20:38 +00:00
|
|
|
|
2010-08-18 23:04:21 +00:00
|
|
|
qt4 = qt47;
|
|
|
|
|
|
|
|
phonon = null;
|
|
|
|
|
2011-02-02 13:54:35 +00:00
|
|
|
kde = callPackage ./kde-package { inherit release; };
|
2010-08-06 20:20:19 +00:00
|
|
|
|
2010-08-02 17:11:19 +00:00
|
|
|
### SUPPORT
|
2010-08-03 10:38:02 +00:00
|
|
|
akonadi = callPackage ./support/akonadi { };
|
2010-08-02 17:14:59 +00:00
|
|
|
|
2010-08-03 10:38:02 +00:00
|
|
|
attica = callPackage ./support/attica { };
|
2010-08-02 17:14:59 +00:00
|
|
|
|
2010-08-03 10:38:02 +00:00
|
|
|
oxygen_icons = callPackage ./support/oxygen-icons { };
|
2010-08-02 17:14:59 +00:00
|
|
|
|
2010-08-03 10:38:02 +00:00
|
|
|
polkit_qt_1 = callPackage ./support/polkit-qt-1 { };
|
2010-08-02 17:12:39 +00:00
|
|
|
|
2010-08-03 10:38:02 +00:00
|
|
|
soprano = callPackage ./support/soprano { };
|
2010-08-02 17:11:19 +00:00
|
|
|
|
2010-08-02 17:12:39 +00:00
|
|
|
### LIBS
|
2010-08-03 10:38:02 +00:00
|
|
|
kdelibs = callPackage ./libs { };
|
2010-08-02 17:14:59 +00:00
|
|
|
|
2010-08-03 10:38:02 +00:00
|
|
|
kdepimlibs = callPackage ./pimlibs { };
|
2010-08-02 17:18:23 +00:00
|
|
|
|
2010-08-10 19:57:53 +00:00
|
|
|
### BASE
|
|
|
|
kdebase = callPackage ./base { };
|
|
|
|
|
2010-08-11 17:33:57 +00:00
|
|
|
kdebase_workspace = callPackage ./base-workspace { };
|
|
|
|
|
2010-08-13 23:14:16 +00:00
|
|
|
kdebase_runtime = callPackage ./base-runtime { };
|
|
|
|
|
2010-08-16 08:23:59 +00:00
|
|
|
### OTHER MODULES
|
2010-10-14 16:49:41 +00:00
|
|
|
|
|
|
|
kdeaccessibility = combinePkgs "kdeaccessibility" {
|
2010-09-04 19:53:39 +00:00
|
|
|
colorSchemes = callPackage ./accessibility/color-schemes.nix { };
|
|
|
|
iconThemes = callPackage ./accessibility/icon-themes.nix { };
|
|
|
|
jovie = callPackage ./accessibility/jovie.nix { };
|
|
|
|
kmag = callPackage ./accessibility/kmag.nix { };
|
|
|
|
kmousetool = callPackage ./accessibility/kmousetool.nix { };
|
|
|
|
kmouth = callPackage ./accessibility/kmouth.nix { };
|
|
|
|
};
|
|
|
|
|
2010-08-18 18:58:53 +00:00
|
|
|
kdeadmin = callPackage ./admin { };
|
2010-10-14 16:49:41 +00:00
|
|
|
|
|
|
|
kdeartwork = combinePkgs "kdeartwork" {
|
2010-09-13 14:22:51 +00:00
|
|
|
aurorae = callPackage ./artwork/aurorae.nix { };
|
|
|
|
colorSchemes = callPackage ./artwork/color-schemes.nix { };
|
|
|
|
desktop_themes = callPackage ./artwork/desktop-themes.nix { };
|
|
|
|
emoticons = callPackage ./artwork/emoticons.nix { };
|
|
|
|
high_resolution_wallpapers = callPackage ./artwork/high-resolution-wallpapers.nix { };
|
|
|
|
wallpapers = callPackage ./artwork/wallpapers.nix { };
|
|
|
|
nuvola_icon_theme = callPackage ./artwork/nuvola-icon-theme.nix { };
|
|
|
|
sounds = callPackage ./artwork/sounds.nix { };
|
|
|
|
weather_wallpapers = callPackage ./artwork/weather-wallpapers.nix { };
|
|
|
|
phase_style = callPackage ./artwork/phase-style.nix { };
|
|
|
|
kscreensaver = callPackage ./artwork/kscreensaver.nix { };
|
|
|
|
};
|
2010-10-14 16:49:41 +00:00
|
|
|
|
2010-08-18 15:54:27 +00:00
|
|
|
kdeedu = callPackage ./edu { };
|
2010-08-18 15:52:58 +00:00
|
|
|
kdegames = callPackage ./games { };
|
2010-08-16 12:40:41 +00:00
|
|
|
kdegraphics = callPackage ./graphics { };
|
2010-08-14 09:46:55 +00:00
|
|
|
kdemultimedia = callPackage ./multimedia { };
|
2010-08-18 15:54:10 +00:00
|
|
|
kdenetwork = callPackage ./network { };
|
2010-08-18 15:55:12 +00:00
|
|
|
kdeplasma_addons = callPackage ./plasma-addons { };
|
2010-10-14 16:49:41 +00:00
|
|
|
|
|
|
|
kdesdk = combinePkgs "kdesdk" {
|
2010-09-13 14:23:29 +00:00
|
|
|
cervisia = callPackage ./sdk/cervisia.nix { };
|
|
|
|
kapptemplate = callPackage ./sdk/kapptemplate.nix { };
|
|
|
|
kate = callPackage ./sdk/kate.nix { };
|
|
|
|
kcachegrind = callPackage ./sdk/kcachegrind.nix { };
|
|
|
|
kdeaccounts_plugin = callPackage ./sdk/kdeaccounts-plugin.nix { };
|
|
|
|
dolphin_plugins = callPackage ./sdk/dolphin-plugins.nix { };
|
|
|
|
kioslave_perldoc = callPackage ./sdk/kioslave-perldoc.nix { };
|
|
|
|
kioslave_svn = callPackage ./sdk/kioslave-svn.nix { };
|
|
|
|
strigi_analyzer = callPackage ./sdk/strigi-analyzer.nix { };
|
|
|
|
kbugbuster = callPackage ./sdk/kbugbuster.nix { };
|
|
|
|
kmtrace = callPackage ./sdk/kmtrace.nix { };
|
|
|
|
kompare = callPackage ./sdk/kompare.nix { };
|
|
|
|
kpartloader = callPackage ./sdk/kpartloader.nix { };
|
|
|
|
kprofilemethod = callPackage ./sdk/kprofilemethod.nix { };
|
|
|
|
kstartperf = callPackage ./sdk/kstartperf.nix { };
|
|
|
|
kuiviewer = callPackage ./sdk/kuiviewer.nix { };
|
|
|
|
lokalize = callPackage ./sdk/lokalize.nix { };
|
|
|
|
poxml = callPackage ./sdk/poxml.nix { };
|
|
|
|
scripts = callPackage ./sdk/scripts.nix { };
|
|
|
|
umbrello = callPackage ./sdk/umbrello.nix { };
|
|
|
|
};
|
2010-10-14 16:49:41 +00:00
|
|
|
|
|
|
|
kdetoys = combinePkgs "kdetoys" {
|
2010-09-13 14:23:36 +00:00
|
|
|
amor = callPackage ./toys/amor.nix { };
|
|
|
|
kteatime = callPackage ./toys/kteatime.nix { };
|
|
|
|
ktux = callPackage ./toys/ktux.nix { };
|
|
|
|
};
|
2010-08-29 21:20:38 +00:00
|
|
|
|
2010-10-14 16:49:41 +00:00
|
|
|
kdeutils = combinePkgs "kdeutils" {
|
2010-09-03 17:41:00 +00:00
|
|
|
ark = callPackage ./utils/ark.nix { };
|
|
|
|
kcalc = callPackage ./utils/kcalc.nix { };
|
|
|
|
kcharselect = callPackage ./utils/kcharselect.nix { };
|
|
|
|
kdf = callPackage ./utils/kdf.nix { };
|
|
|
|
kfloppy = callPackage ./utils/kfloppy.nix { };
|
|
|
|
kgpg = callPackage ./utils/kgpg.nix { };
|
|
|
|
kremotecontrol = callPackage ./utils/kremotecontrol.nix { };
|
|
|
|
ktimer = callPackage ./utils/ktimer.nix { };
|
|
|
|
kwallet = callPackage ./utils/kwallet.nix { };
|
|
|
|
okteta = callPackage ./utils/okteta.nix { };
|
|
|
|
printer_applet = callPackage ./utils/printer-applet.nix { };
|
|
|
|
superkaramba = callPackage ./utils/superkaramba.nix { };
|
|
|
|
sweeper = callPackage ./utils/sweeper.nix { };
|
|
|
|
};
|
2010-08-29 21:20:38 +00:00
|
|
|
|
2010-10-14 16:49:41 +00:00
|
|
|
kdewebdev = combinePkgs "kdewebdev" {
|
2010-09-13 20:14:45 +00:00
|
|
|
klinkstatus = callPackage ./webdev/klinkstatus.nix { };
|
|
|
|
kommander = callPackage ./webdev/kommander.nix { };
|
|
|
|
kfilereplace = callPackage ./webdev/kfilereplace.nix { };
|
|
|
|
kimagemapeditor = callPackage ./webdev/kimagemapeditor.nix { };
|
|
|
|
};
|
2010-08-18 23:04:21 +00:00
|
|
|
|
2010-10-10 05:03:07 +00:00
|
|
|
kdepim_runtime = callPackage ./pim-runtime { };
|
|
|
|
kdepim = callPackage ./pim { };
|
2010-09-22 18:04:21 +00:00
|
|
|
|
2010-08-02 17:18:23 +00:00
|
|
|
### DEVELOPMENT
|
|
|
|
|
2010-08-03 10:38:02 +00:00
|
|
|
kdebindings = callPackage ./bindings { };
|
2010-10-02 05:24:06 +00:00
|
|
|
|
2011-02-02 13:54:35 +00:00
|
|
|
l10n = callPackage ./l10n { inherit release; };
|
2010-10-14 16:49:41 +00:00
|
|
|
|
|
|
|
# Make the split packages visible to `nix-env -q'.
|
|
|
|
misc = recurseIntoAttrs
|
|
|
|
(kdeaccessibility.pkgs // kdeartwork.pkgs // kdesdk.pkgs // kdetoys.pkgs // kdeutils.pkgs // kdewebdev.pkgs);
|
|
|
|
|
2010-08-03 10:38:02 +00:00
|
|
|
}
|