2011-07-07 20:48:51 +00:00
|
|
|
{ callPackage, recurseIntoAttrs, runCommand, stdenv, fetchurl, qt47 } :
|
|
|
|
|
|
|
|
let
|
|
|
|
|
2011-07-13 13:08:49 +00:00
|
|
|
release = "4.6.95";
|
2011-07-07 20:48:51 +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
|
|
|
|
runCommand "${name}-${release}" ({ passthru = pkgs // { inherit pkgs; }; })
|
|
|
|
''
|
|
|
|
mkdir -p $out/nix-support
|
|
|
|
echo ${toString pkgs'} > $out/nix-support/propagated-user-env-packages
|
|
|
|
'';
|
|
|
|
|
|
|
|
in
|
|
|
|
|
|
|
|
recurseIntoAttrs rec {
|
|
|
|
recurseForRelease = true;
|
|
|
|
|
|
|
|
inherit callPackage stdenv;
|
|
|
|
|
|
|
|
qt4 = qt47;
|
|
|
|
|
|
|
|
kde = callPackage ./kde-package { inherit release; stable = false; };
|
|
|
|
|
|
|
|
### SUPPORT
|
2011-07-14 08:42:01 +00:00
|
|
|
|
2011-07-07 20:48:51 +00:00
|
|
|
akonadi = callPackage ./support/akonadi { };
|
|
|
|
|
|
|
|
oxygen_icons = callPackage ./support/oxygen-icons { };
|
|
|
|
|
|
|
|
soprano = callPackage ./support/soprano { };
|
|
|
|
|
2011-07-11 16:13:40 +00:00
|
|
|
libkexiv2 = callPackage ./libkexiv2.nix { };
|
|
|
|
|
|
|
|
libkipi = callPackage ./libkipi.nix { };
|
|
|
|
|
2011-07-17 14:10:41 +00:00
|
|
|
phonon = callPackage ./phonon.nix { };
|
|
|
|
|
2011-07-18 12:37:50 +00:00
|
|
|
phonon_backend_gstreamer = callPackage ./phonon-backend-gstreamer.nix { };
|
|
|
|
|
2011-07-11 16:26:17 +00:00
|
|
|
#kipi_plugins = callPackage ./kipi-plugins { };
|
2011-07-11 16:13:40 +00:00
|
|
|
|
2011-07-07 20:48:51 +00:00
|
|
|
### LIBS
|
2011-07-14 08:42:01 +00:00
|
|
|
|
2011-07-07 20:48:51 +00:00
|
|
|
kdelibs = callPackage ./libs { };
|
|
|
|
|
2011-07-21 19:16:21 +00:00
|
|
|
kdepimlibs = callPackage ./pimlibs { };
|
2011-07-07 20:48:51 +00:00
|
|
|
|
|
|
|
### BASE
|
|
|
|
|
2011-07-11 15:33:41 +00:00
|
|
|
kde_baseapps = callPackage ./baseapps.nix { };
|
|
|
|
|
2011-07-12 13:24:35 +00:00
|
|
|
kde_workspace = callPackage ./workspace.nix { };
|
|
|
|
|
2011-07-17 14:10:41 +00:00
|
|
|
kde_runtime = callPackage ./runtime.nix { };
|
|
|
|
|
2011-07-15 09:50:37 +00:00
|
|
|
# Backwards compatibility.
|
|
|
|
kdebase_workspace = kde_workspace;
|
|
|
|
|
2011-07-21 21:54:40 +00:00
|
|
|
### BINDINGS
|
|
|
|
|
|
|
|
pykde4 = callPackage ./pykde4.nix { };
|
|
|
|
|
2011-07-07 20:48:51 +00:00
|
|
|
### OTHER MODULES
|
|
|
|
|
2011-07-11 15:33:41 +00:00
|
|
|
gwenview = callPackage ./gwenview.nix { };
|
|
|
|
|
2011-07-11 14:29:27 +00:00
|
|
|
okular = callPackage ./okular.nix { };
|
|
|
|
|
2011-07-11 14:47:39 +00:00
|
|
|
konsole = callPackage ./konsole.nix { };
|
|
|
|
|
2011-07-11 16:26:17 +00:00
|
|
|
kcolorchooser = callPackage ./kcolorchooser.nix { };
|
|
|
|
|
|
|
|
kate = callPackage ./kate.nix { };
|
|
|
|
|
|
|
|
ksnapshot = callPackage ./ksnapshot.nix { };
|
|
|
|
|
2011-07-12 13:14:23 +00:00
|
|
|
kamera = callPackage ./kamera.nix { };
|
|
|
|
|
2011-07-17 14:24:43 +00:00
|
|
|
kde_wallpapers = callPackage ./wallpapers.nix { };
|
|
|
|
|
2011-07-22 01:28:09 +00:00
|
|
|
kdeadmin = callPackage ./admin.nix { };
|
|
|
|
|
2011-07-21 21:54:40 +00:00
|
|
|
kdegames = callPackage ./games.nix { };
|
|
|
|
|
2011-07-21 11:56:11 +00:00
|
|
|
/*
|
2011-07-07 20:48:51 +00:00
|
|
|
kdeaccessibility = combinePkgs "kdeaccessibility" {
|
|
|
|
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 { };
|
|
|
|
};
|
|
|
|
|
|
|
|
kdeadmin = callPackage ./admin { };
|
|
|
|
|
|
|
|
kdeartwork = combinePkgs "kdeartwork" {
|
|
|
|
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 { };
|
|
|
|
};
|
|
|
|
|
|
|
|
kdeedu = callPackage ./edu { };
|
|
|
|
kdegames = callPackage ./games { };
|
|
|
|
kdegraphics = callPackage ./graphics { };
|
|
|
|
kdemultimedia = callPackage ./multimedia { };
|
|
|
|
kdenetwork = callPackage ./network { };
|
|
|
|
kdeplasma_addons = callPackage ./plasma-addons { };
|
|
|
|
|
|
|
|
kdesdk = combinePkgs "kdesdk" {
|
|
|
|
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 { };
|
|
|
|
};
|
|
|
|
|
|
|
|
kdetoys = combinePkgs "kdetoys" {
|
|
|
|
amor = callPackage ./toys/amor.nix { };
|
|
|
|
kteatime = callPackage ./toys/kteatime.nix { };
|
|
|
|
ktux = callPackage ./toys/ktux.nix { };
|
|
|
|
};
|
|
|
|
|
|
|
|
kdeutils = combinePkgs "kdeutils" {
|
|
|
|
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 { };
|
|
|
|
};
|
|
|
|
|
|
|
|
kdewebdev = combinePkgs "kdewebdev" {
|
|
|
|
klinkstatus = callPackage ./webdev/klinkstatus.nix { };
|
|
|
|
kommander = callPackage ./webdev/kommander.nix { };
|
|
|
|
kfilereplace = callPackage ./webdev/kfilereplace.nix { };
|
|
|
|
kimagemapeditor = callPackage ./webdev/kimagemapeditor.nix { };
|
|
|
|
};
|
|
|
|
|
|
|
|
kdepim_runtime = callPackage ./pim-runtime { };
|
|
|
|
kdepim = callPackage ./pim { };
|
2011-07-21 11:56:11 +00:00
|
|
|
*/
|
2011-07-07 20:48:51 +00:00
|
|
|
|
|
|
|
### DEVELOPMENT
|
|
|
|
|
2011-07-21 11:56:11 +00:00
|
|
|
/*
|
2011-07-07 20:48:51 +00:00
|
|
|
kdebindings = callPackage ./bindings { };
|
|
|
|
|
|
|
|
l10n = callPackage ./l10n { inherit release; };
|
|
|
|
|
|
|
|
# Make the split packages visible to `nix-env -q'.
|
|
|
|
misc = recurseIntoAttrs
|
|
|
|
(kdeaccessibility.pkgs // kdeartwork.pkgs // kdesdk.pkgs // kdetoys.pkgs // kdeutils.pkgs // kdewebdev.pkgs);
|
2011-07-21 11:56:11 +00:00
|
|
|
*/
|
2011-07-07 20:48:51 +00:00
|
|
|
|
|
|
|
}
|