2015-03-12 22:46:47 +01:00
|
|
|
{ config, pkgs, newScope }:
|
|
|
|
|
|
|
|
let
|
2013-02-21 12:16:51 +01:00
|
|
|
|
|
|
|
callPackage = newScope (deps // xfce_self);
|
|
|
|
|
2015-09-20 17:37:09 +02:00
|
|
|
deps = { # xfce-global dependency overrides should be here
|
2016-09-11 23:24:51 +02:00
|
|
|
inherit (pkgs.gnome2) libglade libwnck vte gtksourceview;
|
2015-11-07 18:01:36 +01:00
|
|
|
inherit (pkgs.gnome3) dconf;
|
2013-02-21 12:16:51 +01:00
|
|
|
inherit (pkgs.perlPackages) URI;
|
2016-09-11 23:24:51 +02:00
|
|
|
gtk = pkgs.gtk2;
|
2013-02-21 12:16:51 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2016-02-27 14:30:58 +01:00
|
|
|
gvfs = pkgs.gvfs.override { samba = null; }; # samba is a rather heavy dependency
|
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 { };
|
2016-10-20 17:09:39 +02:00
|
|
|
gtk_xfce_engine = callPackage ./core/gtk-xfce-engine.nix
|
|
|
|
{ withGtk3 = false; }; # = true; was completely breaking GTK3 app layout
|
2013-02-21 12:16:51 +01:00
|
|
|
libxfce4ui = callPackage ./core/libxfce4ui.nix { };
|
2015-11-01 04:59:23 +01:00
|
|
|
libxfce4ui_gtk3 = libxfce4ui.override { withGtk3 = true; };
|
2013-02-21 12:16:51 +01:00
|
|
|
libxfce4util = callPackage ./core/libxfce4util.nix { };
|
|
|
|
libxfcegui4 = callPackage ./core/libxfcegui4.nix { };
|
2015-10-10 18:16:42 +02:00
|
|
|
thunar-build = callPackage ./core/thunar-build.nix { };
|
2013-02-21 12:16:51 +01:00
|
|
|
thunar = callPackage ./core/thunar.nix { };
|
2015-10-10 18:16:42 +02:00
|
|
|
thunarx-2-dev = thunar-build; # Plugins need only the `thunarx-2` part of the package. Awaiting multiple outputs.
|
2013-02-21 12:16:51 +01:00
|
|
|
thunar_volman = callPackage ./core/thunar-volman.nix { }; # ToDo: probably inside Thunar now
|
2017-03-05 21:07:59 +01:00
|
|
|
thunar-archive-plugin
|
2015-09-24 04:08:05 +02:00
|
|
|
= callPackage ./thunar-plugins/archive { };
|
2017-03-05 21:07:59 +01:00
|
|
|
thunar-dropbox-plugin
|
2015-09-24 04:08:05 +02:00
|
|
|
= callPackage ./thunar-plugins/dropbox { };
|
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
|
2015-11-01 04:59:23 +01:00
|
|
|
xfce4panel_gtk3 = xfce4panel.override { withGtk3 = true; };
|
2013-02-21 12:16:51 +01:00
|
|
|
xfce4session = callPackage ./core/xfce4-session.nix { };
|
|
|
|
xfce4settings = callPackage ./core/xfce4-settings.nix { };
|
|
|
|
xfce4_power_manager = callPackage ./core/xfce4-power-manager.nix { };
|
2016-06-09 14:44:20 +02:00
|
|
|
xfce4_power_manager_gtk3 = callPackage ./core/xfce4-power-manager.nix { withGtk3 = true; };
|
2013-02-21 12:16:51 +01:00
|
|
|
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 { };
|
2016-03-11 11:33:07 +01:00
|
|
|
orage = callPackage ./applications/orage.nix { };
|
2013-12-24 05:43:57 +01:00
|
|
|
parole = callPackage ./applications/parole.nix { };
|
2013-02-21 12:16:51 +01:00
|
|
|
ristretto = callPackage ./applications/ristretto.nix { };
|
|
|
|
terminal = xfce4terminal; # it has changed its name
|
2017-12-19 20:28:12 +01:00
|
|
|
xfce4mixer = callPackage ./applications/xfce4-mixer.nix { };
|
|
|
|
xfce4mixer_pulse = callPackage ./applications/xfce4-mixer.nix { pulseaudioSupport = true; };
|
2013-02-21 12:16:51 +01:00
|
|
|
xfce4notifyd = callPackage ./applications/xfce4-notifyd.nix { };
|
|
|
|
xfce4taskmanager= callPackage ./applications/xfce4-taskmanager.nix { };
|
|
|
|
xfce4terminal = callPackage ./applications/terminal.nix { };
|
2016-05-14 14:29:09 +02:00
|
|
|
xfce4-screenshooter = callPackage ./applications/xfce4-screenshooter.nix { };
|
2017-12-19 20:28:12 +01:00
|
|
|
xfce4volumed = callPackage ./applications/xfce4-volumed.nix { };
|
|
|
|
xfce4volumed_pulse = callPackage ./applications/xfce4-volumed-pulse.nix { };
|
2013-02-21 12:16:51 +01:00
|
|
|
|
|
|
|
#### ART from "mirror://xfce/src/art/${p_name}/${ver_maj}/${name}.tar.bz2"
|
|
|
|
|
|
|
|
xfce4icontheme = callPackage ./art/xfce4-icon-theme.nix { };
|
2017-04-05 03:39:03 +02:00
|
|
|
xfwm4themes = callPackage ./art/xfwm4-themes.nix { };
|
2013-02-21 12:16:51 +01:00
|
|
|
|
2015-01-17 03:46:34 +01:00
|
|
|
#### PANEL PLUGINS from "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.{bz2,gz}"
|
2013-02-21 12:16:51 +01:00
|
|
|
|
2016-09-15 15:49:56 +02:00
|
|
|
xfce4_battery_plugin = callPackage ./panel-plugins/xfce4-battery-plugin.nix { };
|
|
|
|
xfce4_clipman_plugin = callPackage ./panel-plugins/xfce4-clipman-plugin.nix { };
|
|
|
|
xfce4_cpufreq_plugin = callPackage ./panel-plugins/xfce4-cpufreq-plugin.nix { };
|
|
|
|
xfce4_cpugraph_plugin = callPackage ./panel-plugins/xfce4-cpugraph-plugin.nix { };
|
|
|
|
xfce4_datetime_plugin = callPackage ./panel-plugins/xfce4-datetime-plugin.nix { };
|
|
|
|
xfce4_dict_plugin = callPackage ./panel-plugins/xfce4-dict-plugin.nix { };
|
2017-04-30 00:11:01 +02:00
|
|
|
xfce4_dockbarx_plugin = callPackage ./panel-plugins/xfce4-dockbarx-plugin.nix { };
|
2016-09-15 15:49:56 +02:00
|
|
|
xfce4_embed_plugin = callPackage ./panel-plugins/xfce4-embed-plugin.nix { };
|
|
|
|
xfce4_eyes_plugin = callPackage ./panel-plugins/xfce4-eyes-plugin.nix { };
|
|
|
|
xfce4_fsguard_plugin = callPackage ./panel-plugins/xfce4-fsguard-plugin.nix { };
|
|
|
|
xfce4_genmon_plugin = callPackage ./panel-plugins/xfce4-genmon-plugin.nix { };
|
|
|
|
xfce4-hardware-monitor-plugin = callPackage ./panel-plugins/xfce4-hardware-monitor-plugin.nix { };
|
2017-06-05 03:47:08 +02:00
|
|
|
xfce4_namebar_plugin = callPackage ./panel-plugins/xfce4-namebar-plugin.nix { };
|
2016-09-15 15:49:56 +02:00
|
|
|
xfce4_netload_plugin = callPackage ./panel-plugins/xfce4-netload-plugin.nix { };
|
|
|
|
xfce4_notes_plugin = callPackage ./panel-plugins/xfce4-notes-plugin.nix { };
|
2017-02-08 18:31:32 +01:00
|
|
|
xfce4_mailwatch_plugin = callPackage ./panel-plugins/xfce4-mailwatch-plugin.nix { };
|
2017-03-05 21:07:59 +01:00
|
|
|
xfce4_mpc_plugin = callPackage ./panel-plugins/xfce4-mpc-plugin.nix { };
|
2016-09-17 16:04:29 +02:00
|
|
|
xfce4-sensors-plugin = callPackage ./panel-plugins/xfce4-sensors-plugin.nix { };
|
2016-09-15 15:49:56 +02:00
|
|
|
xfce4_systemload_plugin = callPackage ./panel-plugins/xfce4-systemload-plugin.nix { };
|
2017-03-05 21:06:25 +01:00
|
|
|
xfce4_timer_plugin = callPackage ./panel-plugins/xfce4-timer-plugin.nix { };
|
2016-09-15 15:49:56 +02:00
|
|
|
xfce4_verve_plugin = callPackage ./panel-plugins/xfce4-verve-plugin.nix { };
|
|
|
|
xfce4_xkb_plugin = callPackage ./panel-plugins/xfce4-xkb-plugin.nix { };
|
|
|
|
xfce4_weather_plugin = callPackage ./panel-plugins/xfce4-weather-plugin.nix { };
|
|
|
|
xfce4_whiskermenu_plugin = callPackage ./panel-plugins/xfce4-whiskermenu-plugin.nix { };
|
2017-01-02 23:21:15 +01:00
|
|
|
xfce4_windowck_plugin = callPackage ./panel-plugins/xfce4-windowck-plugin.nix { };
|
2016-09-15 15:49:56 +02:00
|
|
|
xfce4_pulseaudio_plugin = callPackage ./panel-plugins/xfce4-pulseaudio-plugin.nix { };
|
2013-02-21 12:16:51 +01:00
|
|
|
|
|
|
|
}; # xfce_self
|
|
|
|
|
|
|
|
in xfce_self
|