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