1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00
Commit graph

11 commits

Author SHA1 Message Date
Ryan Horiguchi 6ac669cca9
gnomeExtensions: auto-update 2022-01-22 20:47:44 +01:00
Ryan Horiguchi c318bf2ed8 gnomeExtensions: auto-update 2022-01-01 14:48:21 +01:00
Ryan Horiguchi 0cd1cbefe6
gnomeExtensions: auto-update 2021-11-20 12:58:00 +01:00
Ryan Horiguchi 89443d70e5 gnomeExtensions: auto-update 2021-11-02 11:03:56 -07:00
Ryan Horiguchi bb412a5125
gnomeExtensions: cleanup extension renames 2021-10-27 00:18:58 +02:00
Ryan Horiguchi 9cb9b011ac
gnomeExtensions: auto-update 2021-10-18 00:51:10 +02:00
Ryan Horiguchi f9d6a88874
gnomeExtensions: Auto-update 2021-10-02 16:50:27 +02:00
piegames ccb3538971 gnomeExtensions: Auto-update 2021-08-21 01:46:51 +02:00
Josh Moller-Mara 5806a57ce6 gnomeExtensions.system-monitor: fix system-monitor name collision
"system-monitor@paradoxxx.zero.gmail.com" is manually packaged,
"System_Monitor@bghome.gmail.com" is automatically packaged.
Both have the extensionPortalSlug "system-monitor", but the former
gets shadowed by the latter.
2021-07-30 14:21:59 -07:00
piegames bffbf4617a gnomeExtensions: integrate manually packaged extensions better with the others
Their keys are now not used directly. Instead, we go the standard route of mapping to the
UUID in order to apply the rename procedure. This makes sure the manual override always does
the correct thing, and also gives us more consistency overall.
2021-07-14 03:35:11 +02:00
piegames b642ac7b70
gnome: Package all the GNOME extensions
An automatic way to do this that scales up and requires little manual intervention is really needed. It works by scraping extensions.gnome.org with a python script, that writes all relevant information into the `extensions.json`. Every attribute of besaid file can be built into a package using `buildShellExtension`.

Extensions are grouped by GNOME Shell version for practical reasons. Only extensions for GNOME 40 and 3.38 were added, as we don't support legacy GNOME versions.
The extensions are exposed as an attrset, `pkgs.gnome40Extensions` and `pkgs.gnome38Extensions` respectively. The package name of each extensions is generated automatically from its UUID.

The attribute `pkgs.gnomeExtensions` contains the officially packaged and supported extensions set. It contains all the automatically packaged extensions for the current GNOME Shell version, which are overwritten by manually packaged ones where needed. Unlike gnomeXYExtensions, the names are not UUIDs, but automatically generated human-friendly names. Naming collisions – which are tracked in collisions.json – need to be manually resolved in the `extensionRenames` attrset.
2021-05-21 23:10:12 +02:00