2013-02-21 12:16:51 +01:00
|
|
|
{ pkgs, newScope }: let
|
|
|
|
|
|
|
|
callPackage = newScope (deps // xfce_self);
|
|
|
|
|
|
|
|
deps = rec { # xfce-global dependency overrides should be here
|
|
|
|
inherit (pkgs.gnome) libglade libwnck vte gtksourceview;
|
|
|
|
inherit (pkgs.perlPackages) URI;
|
|
|
|
};
|
|
|
|
|
|
|
|
xfce_self = rec { # the lines are very long but it seems better than the even-odd line approach
|
|
|
|
|
2013-03-09 10:51:34 +01:00
|
|
|
#### NixOS support
|
|
|
|
|
2013-04-01 18:15:34 +02:00
|
|
|
inherit (pkgs) gvfs;
|
2013-03-09 10:51:34 +01:00
|
|
|
xinitrc = "${xfce4session}/etc/xdg/xfce4/xinitrc";
|
|
|
|
|
2013-02-21 12:16:51 +01:00
|
|
|
#### CORE from "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2"
|
|
|
|
|
|
|
|
exo = callPackage ./core/exo.nix { };
|
|
|
|
garcon = callPackage ./core/garcon.nix { };
|
|
|
|
gtk_xfce_engine = callPackage ./core/gtk-xfce-engine.nix { }; # ToDo: when should be used?
|
|
|
|
libxfce4ui = callPackage ./core/libxfce4ui.nix { };
|
|
|
|
libxfce4util = callPackage ./core/libxfce4util.nix { };
|
|
|
|
libxfcegui4 = callPackage ./core/libxfcegui4.nix { };
|
|
|
|
thunar = callPackage ./core/thunar.nix { };
|
|
|
|
thunar_volman = callPackage ./core/thunar-volman.nix { }; # ToDo: probably inside Thunar now
|
2013-08-16 13:56:54 +02:00
|
|
|
thunar_archive_plugin = callPackage ./core/thunar-archive-plugin.nix { };
|
2013-05-08 13:43:37 +02:00
|
|
|
tumbler = callPackage ./core/tumbler.nix { };
|
2013-02-21 12:16:51 +01:00
|
|
|
xfce4panel = callPackage ./core/xfce4-panel.nix { }; # ToDo: impure plugins from /run/current-system/sw/lib/xfce4
|
|
|
|
xfce4session = callPackage ./core/xfce4-session.nix { };
|
|
|
|
xfce4settings = callPackage ./core/xfce4-settings.nix { };
|
|
|
|
xfce4_power_manager = callPackage ./core/xfce4-power-manager.nix { };
|
|
|
|
xfconf = callPackage ./core/xfconf.nix { };
|
|
|
|
xfdesktop = callPackage ./core/xfdesktop.nix { };
|
|
|
|
xfwm4 = callPackage ./core/xfwm4.nix { };
|
|
|
|
|
|
|
|
xfce4_appfinder = callPackage ./core/xfce4-appfinder.nix { };
|
2013-04-29 11:44:58 +02:00
|
|
|
xfce4_dev_tools = callPackage ./core/xfce4-dev-tools.nix { }; # only if autotools are needed
|
2013-02-21 12:16:51 +01:00
|
|
|
|
|
|
|
#### APPLICATIONS from "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2"
|
|
|
|
|
|
|
|
gigolo = callPackage ./applications/gigolo.nix { };
|
|
|
|
mousepad = callPackage ./applications/mousepad.nix { };
|
|
|
|
ristretto = callPackage ./applications/ristretto.nix { };
|
|
|
|
terminal = xfce4terminal; # it has changed its name
|
|
|
|
xfce4mixer = callPackage ./applications/xfce4-mixer.nix { };
|
|
|
|
xfce4notifyd = callPackage ./applications/xfce4-notifyd.nix { };
|
|
|
|
xfce4taskmanager= callPackage ./applications/xfce4-taskmanager.nix { };
|
|
|
|
xfce4terminal = callPackage ./applications/terminal.nix { };
|
|
|
|
|
|
|
|
#### ART from "mirror://xfce/src/art/${p_name}/${ver_maj}/${name}.tar.bz2"
|
|
|
|
|
|
|
|
xfce4icontheme = callPackage ./art/xfce4-icon-theme.nix { };
|
|
|
|
|
|
|
|
#### PANEL PLUGINS from "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.bz2"
|
|
|
|
|
|
|
|
xfce4_systemload_plugin = callPackage ./panel-plugins/xfce4-systemload-plugin.nix { };
|
|
|
|
xfce4_cpufreq_plugin = callPackage ./panel-plugins/xfce4-cpufreq-plugin.nix { };
|
|
|
|
|
|
|
|
}; # xfce_self
|
|
|
|
|
|
|
|
in xfce_self
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|