nixpkgs/pkgs/desktops/gnome/default.nix
2023-12-27 00:26:53 +01:00

266 lines
7.6 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ config, pkgs, lib }:
lib.makeScope pkgs.newScope (self: with self; {
updateScript = callPackage ./update.nix { };
# Temporary helper until gdk-pixbuf supports multiple cache files.
# This will go away, do not use outside Nixpkgs.
_gdkPixbufCacheBuilder_DO_NOT_USE = callPackage ./gdk-pixbuf-cache-builder.nix { };
libsoup = pkgs.libsoup.override { gnomeSupport = true; };
libchamplain = pkgs.libchamplain.override { libsoup = libsoup; };
# ISO installer
# installerIso = callPackage ./installer.nix {};
#### Core (http://ftp.acc.umu.se/pub/GNOME/core/)
adwaita-icon-theme = callPackage ./core/adwaita-icon-theme { };
baobab = callPackage ./core/baobab { };
caribou = callPackage ./core/caribou { };
dconf-editor = callPackage ./core/dconf-editor { };
epiphany = callPackage ./core/epiphany { };
evince = callPackage ./core/evince { }; # ToDo: dbus would prevent compilation, enable tests
evolution-data-server = callPackage ./core/evolution-data-server { };
gdm = callPackage ./core/gdm { };
gnome-backgrounds = callPackage ./core/gnome-backgrounds { };
gnome-bluetooth = callPackage ./core/gnome-bluetooth { };
gnome-bluetooth_1_0 = callPackage ./core/gnome-bluetooth/1.0 { };
gnome-color-manager = callPackage ./core/gnome-color-manager { };
gnome-contacts = callPackage ./core/gnome-contacts { };
gnome-control-center = callPackage ./core/gnome-control-center { };
gnome-calculator = callPackage ./core/gnome-calculator { };
gnome-common = callPackage ./core/gnome-common { };
gnome-dictionary = callPackage ./core/gnome-dictionary { };
gnome-disk-utility = callPackage ./core/gnome-disk-utility { };
gnome-font-viewer = callPackage ./core/gnome-font-viewer { };
gnome-keyring = callPackage ./core/gnome-keyring { };
libgnome-keyring = callPackage ./core/libgnome-keyring { };
gnome-initial-setup = callPackage ./core/gnome-initial-setup { };
gnome-online-miners = callPackage ./core/gnome-online-miners { };
gnome-remote-desktop = callPackage ./core/gnome-remote-desktop { };
gnome-session = callPackage ./core/gnome-session { };
gnome-session-ctl = callPackage ./core/gnome-session/ctl.nix { };
gnome-shell = callPackage ./core/gnome-shell { };
gnome-shell-extensions = callPackage ./core/gnome-shell-extensions { };
gnome-screenshot = callPackage ./core/gnome-screenshot { };
gnome-settings-daemon = callPackage ./core/gnome-settings-daemon { };
# Using 43 to match Mutter used in Pantheon
gnome-settings-daemon43 = callPackage ./core/gnome-settings-daemon/43 { };
gnome-software = callPackage ./core/gnome-software { };
gnome-system-monitor = callPackage ./core/gnome-system-monitor { };
gnome-terminal = callPackage ./core/gnome-terminal { };
gnome-themes-extra = callPackage ./core/gnome-themes-extra { };
gnome-user-share = callPackage ./core/gnome-user-share { };
gucharmap = callPackage ./core/gucharmap { };
gvfs = pkgs.gvfs.override { gnomeSupport = true; };
eog = callPackage ./core/eog { };
mutter = callPackage ./core/mutter { };
# Needed for elementary's gala, wingpanel and greeter until support for higher versions is provided
mutter43 = callPackage ./core/mutter/43 { };
nautilus = callPackage ./core/nautilus { };
networkmanager-openvpn = pkgs.networkmanager-openvpn.override {
withGnome = true;
};
networkmanager-vpnc = pkgs.networkmanager-vpnc.override {
withGnome = true;
};
networkmanager-openconnect = pkgs.networkmanager-openconnect.override {
withGnome = true;
};
networkmanager-fortisslvpn = pkgs.networkmanager-fortisslvpn.override {
withGnome = true;
};
networkmanager-l2tp = pkgs.networkmanager-l2tp.override {
withGnome = true;
};
networkmanager-iodine = pkgs.networkmanager-iodine.override {
withGnome = true;
};
nixos-gsettings-overrides = callPackage ./nixos/gsettings-overrides { };
rygel = callPackage ./core/rygel { };
simple-scan = callPackage ./core/simple-scan { };
sushi = callPackage ./core/sushi { };
totem = callPackage ./core/totem { };
yelp = callPackage ./core/yelp { };
yelp-xsl = callPackage ./core/yelp-xsl { };
zenity = callPackage ./core/zenity { };
#### Apps (http://ftp.acc.umu.se/pub/GNOME/apps/)
accerciser = callPackage ./apps/accerciser { };
cheese = callPackage ./apps/cheese { };
file-roller = callPackage ./apps/file-roller { };
ghex = callPackage ./apps/ghex { };
gnome-boxes = callPackage ./apps/gnome-boxes { };
gnome-calendar = callPackage ./apps/gnome-calendar { };
gnome-characters = callPackage ./apps/gnome-characters { };
gnome-clocks = callPackage ./apps/gnome-clocks { };
gnome-logs = callPackage ./apps/gnome-logs { };
gnome-maps = callPackage ./apps/gnome-maps { };
gnome-music = callPackage ./apps/gnome-music { };
gnome-nettool = callPackage ./apps/gnome-nettool { };
gnome-notes = callPackage ./apps/gnome-notes { };
gnome-power-manager = callPackage ./apps/gnome-power-manager { };
gnome-sound-recorder = callPackage ./apps/gnome-sound-recorder { };
gnome-weather = callPackage ./apps/gnome-weather { };
polari = callPackage ./apps/polari { };
seahorse = callPackage ./apps/seahorse { };
vinagre = callPackage ./apps/vinagre { };
#### Dev http://ftp.gnome.org/pub/GNOME/devtools/
anjuta = callPackage ./devtools/anjuta { };
devhelp = callPackage ./devtools/devhelp { };
#### Games
aisleriot = callPackage ./games/aisleriot { };
atomix = callPackage ./games/atomix { };
five-or-more = callPackage ./games/five-or-more { };
four-in-a-row = callPackage ./games/four-in-a-row { };
gnome-chess = callPackage ./games/gnome-chess { };
gnome-klotski = callPackage ./games/gnome-klotski { };
gnome-mahjongg = callPackage ./games/gnome-mahjongg { };
gnome-mines = callPackage ./games/gnome-mines { };
gnome-nibbles = callPackage ./games/gnome-nibbles { };
gnome-robots = callPackage ./games/gnome-robots { };
gnome-sudoku = callPackage ./games/gnome-sudoku { };
gnome-taquin = callPackage ./games/gnome-taquin { };
gnome-tetravex = callPackage ./games/gnome-tetravex { };
hitori = callPackage ./games/hitori { };
iagno = callPackage ./games/iagno { };
lightsoff = callPackage ./games/lightsoff { };
swell-foop = callPackage ./games/swell-foop { };
tali = callPackage ./games/tali { };
quadrapassel = callPackage ./games/quadrapassel { };
#### Misc -- other packages on http://ftp.gnome.org/pub/GNOME/sources/
geary = callPackage ./misc/geary { };
gitg = callPackage ./misc/gitg { };
gnome-applets = callPackage ./misc/gnome-applets { };
gnome-flashback = callPackage ./misc/gnome-flashback { };
gnome-panel = callPackage ./misc/gnome-panel { };
gnome-panel-with-modules = callPackage ./misc/gnome-panel/wrapper.nix { };
gnome-tweaks = callPackage ./misc/gnome-tweaks { };
gpaste = callPackage ./misc/gpaste { };
metacity = callPackage ./misc/metacity { };
nautilus-python = callPackage ./misc/nautilus-python { };
gtkhtml = callPackage ./misc/gtkhtml { enchant = pkgs.enchant2; };
pomodoro = callPackage ./misc/pomodoro { };
gnome-autoar = callPackage ./misc/gnome-autoar { };
gnome-packagekit = callPackage ./misc/gnome-packagekit { };
}) // lib.optionalAttrs config.allowAliases {
#### Legacy aliases. They need to be outside the scope or they will shadow the attributes from parent scope.
gedit = throw "The gnome.gedit alias was removed. Please use pkgs.gedit directly."; # converted to throw on 2023-12-27
gnome-todo = throw "The gnome.gnome-todo alias was removed. Please use pkgs.endeavour directly."; # converted to throw on 2023-12-27
}