2010-10-14 18:49:41 +02:00
|
|
|
{ callPackage, recurseIntoAttrs, runCommand, stdenv, fetchurl, qt47 } :
|
2010-08-02 19:11:19 +02:00
|
|
|
|
2010-10-14 18:49:41 +02:00
|
|
|
let
|
|
|
|
|
|
|
|
version = "4.5.1";
|
|
|
|
|
|
|
|
# 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
|
|
|
|
runCommand "${name}-${version}" ({ passthru = pkgs // { inherit pkgs; }; })
|
|
|
|
''
|
|
|
|
mkdir -p $out/nix-support
|
|
|
|
echo ${toString pkgs'} > $out/nix-support/propagated-user-env-packages
|
|
|
|
'';
|
|
|
|
|
|
|
|
in
|
|
|
|
|
|
|
|
recurseIntoAttrs rec {
|
2010-08-03 16:02:42 +02:00
|
|
|
recurseForRelease = true;
|
2010-08-02 19:11:19 +02:00
|
|
|
|
2010-10-05 19:44:11 +02:00
|
|
|
inherit callPackage stdenv;
|
2010-08-29 23:20:38 +02:00
|
|
|
|
2010-08-19 01:04:21 +02:00
|
|
|
qt4 = qt47;
|
|
|
|
|
|
|
|
phonon = null;
|
|
|
|
|
2010-10-05 19:44:11 +02:00
|
|
|
kde = callPackage ./kde-package { };
|
2010-08-06 22:20:19 +02:00
|
|
|
|
2010-08-02 19:11:19 +02:00
|
|
|
### SUPPORT
|
2010-08-03 12:38:02 +02:00
|
|
|
akonadi = callPackage ./support/akonadi { };
|
2010-08-02 19:14:59 +02:00
|
|
|
|
2010-08-03 12:38:02 +02:00
|
|
|
attica = callPackage ./support/attica { };
|
2010-08-02 19:14:59 +02:00
|
|
|
|
2010-08-03 12:38:02 +02:00
|
|
|
automoc4 = callPackage ./support/automoc4 { };
|
2010-08-02 19:11:19 +02:00
|
|
|
|
2010-08-13 16:06:29 +02:00
|
|
|
eigen = callPackage ./support/eigen { };
|
|
|
|
|
2010-08-03 12:38:02 +02:00
|
|
|
oxygen_icons = callPackage ./support/oxygen-icons { };
|
2010-08-02 19:14:59 +02:00
|
|
|
|
2010-08-03 12:38:02 +02:00
|
|
|
polkit_qt_1 = callPackage ./support/polkit-qt-1 { };
|
2010-08-02 19:12:39 +02:00
|
|
|
|
2010-08-03 12:38:02 +02:00
|
|
|
strigi = callPackage ./support/strigi { };
|
2010-08-02 19:14:59 +02:00
|
|
|
|
2010-08-03 12:38:02 +02:00
|
|
|
soprano = callPackage ./support/soprano { };
|
2010-08-02 19:11:19 +02:00
|
|
|
|
2010-08-03 12:38:02 +02:00
|
|
|
qca2 = callPackage ./support/qca2 { };
|
2010-08-02 19:11:19 +02:00
|
|
|
|
2010-08-03 12:38:02 +02:00
|
|
|
qca2_ossl = callPackage ./support/qca2/ossl.nix { };
|
2010-08-02 19:14:59 +02:00
|
|
|
|
2010-08-10 21:57:53 +02:00
|
|
|
qimageblitz = callPackage ./support/qimageblitz { };
|
|
|
|
|
2010-08-02 19:12:39 +02:00
|
|
|
### LIBS
|
2010-08-03 12:38:02 +02:00
|
|
|
kdelibs = callPackage ./libs { };
|
2010-08-02 19:14:59 +02:00
|
|
|
|
2010-08-03 12:38:02 +02:00
|
|
|
kdepimlibs = callPackage ./pimlibs { };
|
2010-08-02 19:18:23 +02:00
|
|
|
|
2010-08-10 21:57:53 +02:00
|
|
|
### BASE
|
|
|
|
kdebase = callPackage ./base { };
|
|
|
|
|
2010-08-11 19:33:57 +02:00
|
|
|
kdebase_workspace = callPackage ./base-workspace { };
|
|
|
|
|
2010-08-14 01:14:16 +02:00
|
|
|
kdebase_runtime = callPackage ./base-runtime { };
|
|
|
|
|
2010-08-16 10:23:59 +02:00
|
|
|
### OTHER MODULES
|
2010-10-14 18:49:41 +02:00
|
|
|
|
|
|
|
kdeaccessibility = combinePkgs "kdeaccessibility" {
|
2010-09-04 21:53:39 +02: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 20:58:53 +02:00
|
|
|
kdeadmin = callPackage ./admin { };
|
2010-10-14 18:49:41 +02:00
|
|
|
|
|
|
|
kdeartwork = combinePkgs "kdeartwork" {
|
2010-09-13 16:22:51 +02: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 18:49:41 +02:00
|
|
|
|
2010-08-18 17:54:27 +02:00
|
|
|
kdeedu = callPackage ./edu { };
|
2010-08-18 17:52:58 +02:00
|
|
|
kdegames = callPackage ./games { };
|
2010-08-16 14:40:41 +02:00
|
|
|
kdegraphics = callPackage ./graphics { };
|
2010-08-14 11:46:55 +02:00
|
|
|
kdemultimedia = callPackage ./multimedia { };
|
2010-08-18 17:54:10 +02:00
|
|
|
kdenetwork = callPackage ./network { };
|
2010-08-18 17:55:12 +02:00
|
|
|
kdeplasma_addons = callPackage ./plasma-addons { };
|
2010-10-14 18:49:41 +02:00
|
|
|
|
|
|
|
kdesdk = combinePkgs "kdesdk" {
|
2010-09-13 16:23:29 +02: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 18:49:41 +02:00
|
|
|
|
|
|
|
kdetoys = combinePkgs "kdetoys" {
|
2010-09-13 16:23:36 +02:00
|
|
|
amor = callPackage ./toys/amor.nix { };
|
|
|
|
kteatime = callPackage ./toys/kteatime.nix { };
|
|
|
|
ktux = callPackage ./toys/ktux.nix { };
|
|
|
|
};
|
2010-08-29 23:20:38 +02:00
|
|
|
|
2010-10-14 18:49:41 +02:00
|
|
|
kdeutils = combinePkgs "kdeutils" {
|
2010-09-03 19:41:00 +02: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 23:20:38 +02:00
|
|
|
|
2010-10-14 18:49:41 +02:00
|
|
|
kdewebdev = combinePkgs "kdewebdev" {
|
2010-09-13 22:14:45 +02:00
|
|
|
klinkstatus = callPackage ./webdev/klinkstatus.nix { };
|
|
|
|
kommander = callPackage ./webdev/kommander.nix { };
|
|
|
|
kfilereplace = callPackage ./webdev/kfilereplace.nix { };
|
|
|
|
kimagemapeditor = callPackage ./webdev/kimagemapeditor.nix { };
|
|
|
|
};
|
2010-08-19 01:04:21 +02:00
|
|
|
|
2010-10-10 07:03:07 +02:00
|
|
|
kdepim_runtime = callPackage ./pim-runtime { };
|
|
|
|
kdepim = callPackage ./pim { };
|
2010-09-22 20:04:21 +02:00
|
|
|
|
|
|
|
# Experimental 4.5 versions
|
2010-10-10 07:03:07 +02:00
|
|
|
kdepim_runtime45 = callPackage ./pim-runtime45 { };
|
|
|
|
kdepim45 = callPackage ./pim45 { };
|
2010-10-14 18:49:41 +02:00
|
|
|
|
2010-08-02 19:18:23 +02:00
|
|
|
### DEVELOPMENT
|
|
|
|
|
2010-08-03 12:38:02 +02:00
|
|
|
kdebindings = callPackage ./bindings { };
|
2010-10-02 07:24:06 +02:00
|
|
|
|
|
|
|
l10n = callPackage ./l10n { };
|
2010-10-14 18:49:41 +02: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 12:38:02 +02:00
|
|
|
}
|