2018-07-08 00:08:48 +00:00
|
|
|
{ config, lib, pkgs }:
|
2015-03-12 21:46:47 +00:00
|
|
|
|
2018-01-08 04:27:35 +00:00
|
|
|
lib.makeScope pkgs.newScope (self: with self; {
|
|
|
|
#### NixOS support
|
2013-02-21 11:16:51 +00:00
|
|
|
|
2020-04-15 14:36:43 +00:00
|
|
|
updateScript = pkgs.genericUpdater;
|
2020-04-13 21:09:24 +00:00
|
|
|
|
|
|
|
gitLister = url:
|
|
|
|
"${pkgs.common-updater-scripts}/bin/list-git-tags ${url}";
|
|
|
|
|
|
|
|
archiveLister = category: name:
|
|
|
|
"${pkgs.common-updater-scripts}/bin/list-archive-two-level-versions https://archive.xfce.org/src/${category}/${name}";
|
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
mkXfceDerivation = callPackage ./mkXfceDerivation.nix { };
|
|
|
|
|
|
|
|
automakeAddFlags = pkgs.makeSetupHook { } ./automakeAddFlags.sh;
|
2013-02-21 11:16:51 +00:00
|
|
|
|
2018-01-08 04:27:35 +00:00
|
|
|
# Samba is a rather heavy dependency
|
|
|
|
gvfs = pkgs.gvfs.override { samba = null; };
|
2013-02-21 11:16:51 +00:00
|
|
|
|
2018-01-08 04:27:35 +00:00
|
|
|
#### CORE
|
2013-03-09 09:51:34 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
exo = callPackage ./core/exo { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
garcon = callPackage ./core/garcon { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
libxfce4ui = callPackage ./core/libxfce4ui { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
libxfce4util = callPackage ./core/libxfce4util { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
thunar = callPackage ./core/thunar {
|
|
|
|
thunarPlugins = [];
|
|
|
|
};
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
thunar-volman = callPackage ./core/thunar-volman { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
|
|
|
thunar-archive-plugin = callPackage ./thunar-plugins/archive { };
|
|
|
|
|
|
|
|
thunar-dropbox-plugin = callPackage ./thunar-plugins/dropbox { };
|
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
tumbler = callPackage ./core/tumbler { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfce4-panel = callPackage ./core/xfce4-panel { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfce4-session = callPackage ./core/xfce4-session { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfce4-settings = callPackage ./core/xfce4-settings { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfce4-power-manager = callPackage ./core/xfce4-power-manager { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfconf = callPackage ./core/xfconf { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfdesktop = callPackage ./core/xfdesktop { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfwm4 = callPackage ./core/xfwm4 { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfce4-appfinder = callPackage ./core/xfce4-appfinder { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfce4-dev-tools = callPackage ./core/xfce4-dev-tools {
|
|
|
|
mkXfceDerivation = mkXfceDerivation.override {
|
|
|
|
xfce4-dev-tools = null;
|
|
|
|
};
|
|
|
|
};
|
2018-01-08 04:27:35 +00:00
|
|
|
|
|
|
|
#### APPLICATIONS
|
|
|
|
|
2019-12-22 19:03:12 +00:00
|
|
|
catfish = callPackage ./applications/catfish { };
|
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
gigolo = callPackage ./applications/gigolo { };
|
|
|
|
|
|
|
|
mousepad = callPackage ./applications/mousepad { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
orage = callPackage ./applications/orage { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
parole = callPackage ./applications/parole { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
ristretto = callPackage ./applications/ristretto { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfce4-taskmanager = callPackage ./applications/xfce4-taskmanager { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfce4-dict = callPackage ./applications/xfce4-dict { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfce4-terminal = callPackage ./applications/xfce4-terminal { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfce4-screenshooter = callPackage ./applications/xfce4-screenshooter {
|
|
|
|
inherit (pkgs.gnome3) libsoup;
|
|
|
|
};
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2020-03-02 17:22:07 +00:00
|
|
|
xfdashboard = callPackage ./applications/xfdashboard {};
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfce4-volumed-pulse = callPackage ./applications/xfce4-volumed-pulse { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfce4-notifyd = callPackage ./applications/xfce4-notifyd { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfburn = callPackage ./applications/xfburn { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
|
|
|
#### ART
|
|
|
|
|
|
|
|
xfce4-icon-theme = callPackage ./art/xfce4-icon-theme.nix { };
|
|
|
|
|
|
|
|
xfwm4-themes = callPackage ./art/xfwm4-themes.nix { };
|
|
|
|
|
|
|
|
#### PANEL PLUGINS
|
|
|
|
|
2018-05-06 09:19:59 +00:00
|
|
|
xfce4-vala-panel-appmenu-plugin = callPackage ./panel-plugins/xfce4-vala-panel-appmenu-plugin { };
|
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfce4-battery-plugin = callPackage ./panel-plugins/xfce4-battery-plugin { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfce4-clipman-plugin = callPackage ./panel-plugins/xfce4-clipman-plugin { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfce4-cpufreq-plugin = callPackage ./panel-plugins/xfce4-cpufreq-plugin { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
|
|
|
xfce4-cpugraph-plugin = callPackage ./panel-plugins/xfce4-cpugraph-plugin.nix { };
|
|
|
|
|
2019-11-05 23:32:31 +00:00
|
|
|
xfce4-datetime-plugin = callPackage ./panel-plugins/xfce4-datetime-plugin { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
|
|
|
xfce4-dockbarx-plugin = callPackage ./panel-plugins/xfce4-dockbarx-plugin.nix { };
|
|
|
|
|
|
|
|
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 { };
|
|
|
|
|
2016-09-15 13:49:56 +00:00
|
|
|
xfce4-hardware-monitor-plugin = callPackage ./panel-plugins/xfce4-hardware-monitor-plugin.nix { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
|
|
|
xfce4-namebar-plugin = callPackage ./panel-plugins/xfce4-namebar-plugin.nix { };
|
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfce4-netload-plugin = callPackage ./panel-plugins/xfce4-netload-plugin { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
|
|
|
xfce4-notes-plugin = callPackage ./panel-plugins/xfce4-notes-plugin.nix { };
|
|
|
|
|
|
|
|
xfce4-mailwatch-plugin = callPackage ./panel-plugins/xfce4-mailwatch-plugin.nix { };
|
|
|
|
|
|
|
|
xfce4-mpc-plugin = callPackage ./panel-plugins/xfce4-mpc-plugin.nix { };
|
|
|
|
|
|
|
|
xfce4-sensors-plugin = callPackage ./panel-plugins/xfce4-sensors-plugin.nix { };
|
|
|
|
|
|
|
|
xfce4-systemload-plugin = callPackage ./panel-plugins/xfce4-systemload-plugin.nix { };
|
|
|
|
|
|
|
|
xfce4-timer-plugin = callPackage ./panel-plugins/xfce4-timer-plugin.nix { };
|
|
|
|
|
2019-11-28 00:23:49 +00:00
|
|
|
xfce4-verve-plugin = callPackage ./panel-plugins/xfce4-verve-plugin { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfce4-xkb-plugin = callPackage ./panel-plugins/xfce4-xkb-plugin { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
|
|
|
xfce4-weather-plugin = callPackage ./panel-plugins/xfce4-weather-plugin.nix { };
|
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfce4-whiskermenu-plugin = callPackage ./panel-plugins/xfce4-whiskermenu-plugin { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
|
|
|
xfce4-windowck-plugin = callPackage ./panel-plugins/xfce4-windowck-plugin.nix { };
|
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
xfce4-pulseaudio-plugin = callPackage ./panel-plugins/xfce4-pulseaudio-plugin { };
|
2018-01-08 04:27:35 +00:00
|
|
|
|
2018-07-12 00:51:54 +00:00
|
|
|
} // lib.optionalAttrs (config.allowAliases or true) {
|
2018-01-21 08:52:18 +00:00
|
|
|
#### ALIASES - added 2018-01
|
2018-01-08 04:27:35 +00:00
|
|
|
|
|
|
|
terminal = xfce4-terminal;
|
|
|
|
thunar-build = thunar-bare;
|
|
|
|
thunarx-2-dev = thunar-build;
|
|
|
|
thunar_volman = thunar-volman;
|
|
|
|
xfce4panel = xfce4-panel;
|
|
|
|
xfce4session = xfce4-session;
|
|
|
|
xfce4settings = xfce4-settings;
|
|
|
|
xfce4_power_manager = xfce4-power-manager;
|
|
|
|
xfce4_appfinder = xfce4-appfinder;
|
|
|
|
xfce4_dev_tools = xfce4-dev-tools;
|
|
|
|
xfce4mixer = xfce4-mixer;
|
|
|
|
xfce4mixer_pulse = xfce4-mixer-pulse;
|
|
|
|
xfce4notifyd = xfce4-notifyd;
|
|
|
|
xfce4taskmanager = xfce4-taskmanager;
|
|
|
|
xfce4terminal = xfce4-terminal;
|
|
|
|
xfce4volumed_pulse = xfce4-volumed-pulse;
|
|
|
|
xfce4icontheme = xfce4-icon-theme;
|
|
|
|
xfwm4themes = xfwm4-themes;
|
|
|
|
|
|
|
|
xfce4_battery_plugin = xfce4-battery-plugin;
|
|
|
|
xfce4_clipman_plugin = xfce4-clipman-plugin;
|
|
|
|
xfce4_cpufreq_plugin = xfce4-cpufreq-plugin;
|
|
|
|
xfce4_cpugraph_plugin = xfce4-cpugraph-plugin;
|
|
|
|
xfce4_datetime_plugin = xfce4-datetime-plugin;
|
|
|
|
xfce4_dockbarx_plugin = xfce4-dockbarx-plugin;
|
|
|
|
xfce4_embed_plugin = xfce4-embed-plugin;
|
|
|
|
xfce4_eyes_plugin = xfce4-eyes-plugin;
|
|
|
|
xfce4_fsguard_plugin = xfce4-fsguard-plugin;
|
|
|
|
xfce4_genmon_plugin = xfce4-genmon-plugin;
|
|
|
|
xfce4_hardware_monitor_plugin = xfce4-hardware-monitor-plugin;
|
|
|
|
xfce4_namebar_plugin = xfce4-namebar-plugin;
|
|
|
|
xfce4_netload_plugin = xfce4-netload-plugin;
|
|
|
|
xfce4_notes_plugin = xfce4-notes-plugin;
|
|
|
|
xfce4_mailwatch_plugin = xfce4-mailwatch-plugin;
|
|
|
|
xfce4_mpc_plugin = xfce4-mpc-plugin;
|
|
|
|
xfce4_sensors_plugin = xfce4-sensors-plugin;
|
|
|
|
xfce4_systemload_plugin = xfce4-systemload-plugin;
|
|
|
|
xfce4_timer_plugin = xfce4-timer-plugin;
|
|
|
|
xfce4_verve_plugin = xfce4-verve-plugin;
|
|
|
|
xfce4_xkb_plugin = xfce4-xkb-plugin;
|
|
|
|
xfce4_weather_plugin = xfce4-weather-plugin;
|
|
|
|
xfce4_whiskermenu_plugin = xfce4-whiskermenu-plugin;
|
|
|
|
xfce4_windowck_plugin = xfce4-windowck-plugin;
|
|
|
|
xfce4_pulseaudio_plugin = xfce4-pulseaudio-plugin;
|
2019-11-04 21:27:22 +00:00
|
|
|
|
|
|
|
xfce4-mixer = throw "deprecated 2019-08-18: obsoleted by xfce4-pulseaudio-plugin"; # added 2019-08-18
|
|
|
|
gtk-xfce-engine = throw "deprecated 2019-09-17: Xfce 4.14 deprecated gtk-xfce-engine"; # added 2019-09-17
|
2020-04-15 16:35:35 +00:00
|
|
|
xfce4-dict-plugin = throw "deprecated 2020-04-19: xfce4-dict-plugin is now part of xfce4-dict."; # added 2020-04-19
|
2019-11-04 21:27:22 +00:00
|
|
|
|
|
|
|
# added 2019-11-04
|
|
|
|
libxfce4ui_gtk3 = libxfce4ui;
|
|
|
|
xfce4panel_gtk3 = xfce4-panel;
|
|
|
|
xfce4_power_manager_gtk3 = xfce4-power-manager;
|
|
|
|
gtk = pkgs.gtk2;
|
|
|
|
libxfcegui4 = throw "libxfcegui4 is the deprecated Xfce GUI library. It has been superseded by the libxfce4ui library";
|
|
|
|
xinitrc = xfce4-session.xinitrc;
|
|
|
|
inherit (pkgs.gnome2) libglade;
|
|
|
|
inherit (pkgs.gnome3) vte gtksourceview;
|
|
|
|
xfce4-mixer-pulse = xfce4-mixer;
|
|
|
|
thunar-bare = thunar.override {
|
|
|
|
thunarPlugins = [];
|
|
|
|
};
|
2019-11-30 23:11:47 +00:00
|
|
|
|
|
|
|
# added 2019-11-30
|
|
|
|
inherit (pkgs) dconf;
|
2018-01-08 04:27:35 +00:00
|
|
|
})
|