nixpkgs/pkgs/desktops/pantheon/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

248 lines
8.5 KiB
Nix
Raw Normal View History

{ config, pkgs, lib, gnome }:
2018-08-20 20:31:18 +00:00
lib.makeScope pkgs.newScope (self: with self; {
switchboardPlugs = [
2021-12-18 03:03:45 +00:00
switchboard-plug-about
switchboard-plug-applications
switchboard-plug-bluetooth
switchboard-plug-datetime
switchboard-plug-display
switchboard-plug-keyboard
switchboard-plug-mouse-touchpad
switchboard-plug-network
switchboard-plug-notifications
switchboard-plug-onlineaccounts
switchboard-plug-pantheon-shell
switchboard-plug-power
switchboard-plug-printers
switchboard-plug-security-privacy
switchboard-plug-sharing
switchboard-plug-sound
switchboard-plug-wacom
2018-08-20 20:31:18 +00:00
];
wingpanelIndicators = [
2021-12-18 03:03:45 +00:00
wingpanel-applications-menu
wingpanel-indicator-bluetooth
wingpanel-indicator-datetime
wingpanel-indicator-keyboard
wingpanel-indicator-network
wingpanel-indicator-nightlight
wingpanel-indicator-notifications
wingpanel-indicator-power
wingpanel-indicator-sound
wingpanel-quick-settings
2018-08-20 20:31:18 +00:00
];
2021-08-02 00:46:24 +00:00
maintainers = lib.teams.pantheon.members;
2018-08-20 20:31:18 +00:00
mutter = pkgs.gnome.mutter43;
2018-08-20 20:31:18 +00:00
# Using 43 to match Mutter used in Pantheon
gnome-settings-daemon = pkgs.gnome.gnome-settings-daemon43;
2018-08-20 20:31:18 +00:00
elementary-gsettings-schemas = callPackage ./desktop/elementary-gsettings-schemas { };
2021-09-13 14:31:04 +00:00
touchegg = pkgs.touchegg.override { withPantheon = true; };
2018-08-20 20:31:18 +00:00
#### APPS
2019-10-02 01:50:07 +00:00
appcenter = callPackage ./apps/appcenter { };
2018-08-20 20:31:18 +00:00
elementary-calculator = callPackage ./apps/elementary-calculator { };
elementary-calendar = callPackage ./apps/elementary-calendar { };
elementary-camera = callPackage ./apps/elementary-camera { };
elementary-code = callPackage ./apps/elementary-code { };
elementary-dock = callPackage ./apps/elementary-dock { };
2018-08-20 20:31:18 +00:00
elementary-files = callPackage ./apps/elementary-files { };
elementary-feedback = callPackage ./apps/elementary-feedback { };
elementary-iconbrowser = callPackage ./apps/elementary-iconbrowser { };
elementary-mail = callPackage ./apps/elementary-mail { };
2018-08-20 20:31:18 +00:00
elementary-music = callPackage ./apps/elementary-music { };
elementary-photos = callPackage ./apps/elementary-photos { };
elementary-screenshot = callPackage ./apps/elementary-screenshot { };
2018-08-20 20:31:18 +00:00
elementary-tasks = callPackage ./apps/elementary-tasks { };
2018-08-20 20:31:18 +00:00
elementary-terminal = callPackage ./apps/elementary-terminal { };
elementary-videos = callPackage ./apps/elementary-videos { };
2021-08-13 13:46:21 +00:00
epiphany = pkgs.epiphany.override { withPantheon = true; };
2019-10-02 02:14:43 +00:00
sideload = callPackage ./apps/sideload { };
2018-08-20 20:31:18 +00:00
#### DESKTOP
elementary-default-settings = callPackage ./desktop/elementary-default-settings { };
elementary-greeter = callPackage ./desktop/elementary-greeter { };
2018-08-20 20:31:18 +00:00
elementary-onboarding = callPackage ./desktop/elementary-onboarding { };
2018-08-20 20:31:18 +00:00
elementary-print-shim = callPackage ./desktop/elementary-print-shim { };
elementary-session-settings = callPackage ./desktop/elementary-session-settings {
inherit (gnome) gnome-session;
2018-08-20 20:31:18 +00:00
};
elementary-shortcut-overlay = callPackage ./desktop/elementary-shortcut-overlay { };
file-roller-contract = callPackage ./desktop/file-roller-contract { };
2022-03-16 21:16:40 +00:00
gala = callPackage ./desktop/gala { };
2018-08-20 20:31:18 +00:00
wingpanel = callPackage ./desktop/wingpanel { };
wingpanel-with-indicators = callPackage ./desktop/wingpanel/wrapper.nix {
indicators = null;
};
#### LIBRARIES
granite = callPackage ./granite { };
2022-05-01 01:58:00 +00:00
granite7 = callPackage ./granite/7 { };
2018-08-20 20:31:18 +00:00
#### SERVICES
contractor = callPackage ./services/contractor { };
elementary-bluetooth-daemon = callPackage ./services/elementary-bluetooth-daemon { };
2018-08-20 20:31:18 +00:00
elementary-capnet-assist = callPackage ./services/elementary-capnet-assist { };
elementary-notifications = callPackage ./services/elementary-notifications { };
elementary-settings-daemon = callPackage ./services/elementary-settings-daemon { };
2018-08-20 20:31:18 +00:00
pantheon-agent-geoclue2 = callPackage ./services/pantheon-agent-geoclue2 { };
pantheon-agent-polkit = callPackage ./services/pantheon-agent-polkit { };
xdg-desktop-portal-pantheon = callPackage ./services/xdg-desktop-portal-pantheon { };
2018-08-20 20:31:18 +00:00
#### WINGPANEL INDICATORS
wingpanel-applications-menu = callPackage ./desktop/wingpanel-indicators/applications-menu { };
wingpanel-indicator-a11y = callPackage ./desktop/wingpanel-indicators/a11y { };
2018-08-20 20:31:18 +00:00
wingpanel-indicator-bluetooth = callPackage ./desktop/wingpanel-indicators/bluetooth { };
wingpanel-indicator-datetime = callPackage ./desktop/wingpanel-indicators/datetime { };
wingpanel-indicator-keyboard = callPackage ./desktop/wingpanel-indicators/keyboard { };
wingpanel-indicator-network = callPackage ./desktop/wingpanel-indicators/network { };
2018-08-20 20:31:18 +00:00
wingpanel-indicator-nightlight = callPackage ./desktop/wingpanel-indicators/nightlight { };
wingpanel-indicator-notifications = callPackage ./desktop/wingpanel-indicators/notifications { };
wingpanel-indicator-power = callPackage ./desktop/wingpanel-indicators/power { };
2018-08-20 20:31:18 +00:00
wingpanel-indicator-sound = callPackage ./desktop/wingpanel-indicators/sound { };
wingpanel-quick-settings = callPackage ./desktop/wingpanel-indicators/quick-settings { };
2018-08-20 20:31:18 +00:00
#### SWITCHBOARD
switchboard = callPackage ./apps/switchboard { };
switchboard-with-plugs = callPackage ./apps/switchboard/wrapper.nix {
plugs = null;
};
switchboard-plug-about = callPackage ./apps/switchboard-plugs/about { };
switchboard-plug-applications = callPackage ./apps/switchboard-plugs/applications { };
switchboard-plug-bluetooth = callPackage ./apps/switchboard-plugs/bluetooth { };
switchboard-plug-datetime = callPackage ./apps/switchboard-plugs/datetime { };
switchboard-plug-display = callPackage ./apps/switchboard-plugs/display { };
switchboard-plug-keyboard = callPackage ./apps/switchboard-plugs/keyboard { };
switchboard-plug-mouse-touchpad = callPackage ./apps/switchboard-plugs/mouse-touchpad { };
switchboard-plug-network = callPackage ./apps/switchboard-plugs/network { };
2018-08-20 20:31:18 +00:00
switchboard-plug-notifications = callPackage ./apps/switchboard-plugs/notifications { };
switchboard-plug-onlineaccounts = callPackage ./apps/switchboard-plugs/onlineaccounts { };
2022-03-16 21:16:40 +00:00
switchboard-plug-pantheon-shell = callPackage ./apps/switchboard-plugs/pantheon-shell { };
2018-08-20 20:31:18 +00:00
switchboard-plug-power = callPackage ./apps/switchboard-plugs/power { };
switchboard-plug-printers = callPackage ./apps/switchboard-plugs/printers { };
switchboard-plug-security-privacy = callPackage ./apps/switchboard-plugs/security-privacy { };
switchboard-plug-sharing = callPackage ./apps/switchboard-plugs/sharing { };
switchboard-plug-sound = callPackage ./apps/switchboard-plugs/sound { };
switchboard-plug-wacom = callPackage ./apps/switchboard-plugs/wacom { };
2018-08-20 20:31:18 +00:00
### ARTWORK
elementary-gtk-theme = callPackage ./artwork/elementary-gtk-theme { };
elementary-icon-theme = callPackage ./artwork/elementary-icon-theme { };
elementary-redacted-script = callPackage ./artwork/elementary-redacted-script { };
2018-08-20 20:31:18 +00:00
elementary-sound-theme = callPackage ./artwork/elementary-sound-theme { };
elementary-wallpapers = callPackage ./artwork/elementary-wallpapers { };
2021-12-18 03:03:45 +00:00
### THIRD-PARTY
# As suggested in https://github.com/NixOS/nixpkgs/issues/115222#issuecomment-906868654
# please avoid putting third-party packages in the `pantheon` scope.
2021-12-18 03:03:45 +00:00
}) // lib.optionalAttrs config.allowAliases {
2019-10-31 22:23:13 +00:00
2019-10-10 15:17:40 +00:00
### ALIASES
# They need to be outside the scope or they will shadow the attributes from parent scope.
2020-07-26 19:30:17 +00:00
vala = throw "The pantheon.vala alias was removed on 2022-02-02, please use pkgs.vala directly."; # added 2019-10-10
2020-03-28 23:38:33 +00:00
cerbere = throw "Cerbere is now obsolete https://github.com/elementary/cerbere/releases/tag/2.5.1."; # added 2020-04-06
elementary-screenshot-tool = throw "The pantheon.elementary-screenshot-tool alias was removed on 2022-02-02, please use pantheon.elementary-screenshot directly."; # added 2021-07-21
evince = pkgs.evince; # added 2022-03-18
extra-elementary-contracts = throw "extra-elementary-contracts has been removed as all contracts have been upstreamed."; # added 2021-12-01
file-roller = pkgs.file-roller; # added 2022-03-12
gnome-bluetooth-contract = throw "pantheon.gnome-bluetooth-contract has been removed, abandoned by upstream."; # added 2022-06-30
notes-up = throw "The pantheon.notes-up alias was removed on 2022-02-02, please use pkgs.notes-up directly."; # added 2021-12-18
2021-09-23 09:28:24 +00:00
switchboard-plug-a11y = throw "pantheon.switchboard-plug-a11y has been removed, abandoned by upstream."; # added 2024-08-23
wingpanel-indicator-session = throw "pantheon.wingpanel-indicator-session has been removed, abandoned by upstream."; # added 2024-08-23
}