Commit Graph

28 Commits

Author SHA1 Message Date
Honnip
cd005ecbb9
gnomeExtensions: Handle GNOME 47 extensions
Applied from pull request 343905.
2024-10-14 20:54:18 +08:00
linsui
b111f6b7b8 gnomeExtensions: make manually packages extensions overridable 2024-07-01 10:25:59 +08:00
Maxine Aubrey
8d69226d2c
gnomeExtensions: add 46 to defaults 2024-04-22 21:11:33 +02:00
Harsh Shandilya
cde53c12dc gnomeExtensions: remove GNOME 46 extensions from the default set
Fixes #304236
2024-04-15 11:33:49 +00:00
Harsh Shandilya
8b3fe3e265 gnomeExtensions: pull in updates for GNOME 46 2024-04-12 18:35:39 +00:00
Maxine Aubrey
b82b5358fa
gnomeExtensions.icon-hider: drop 2024-03-15 20:30:20 +01:00
Adam Joseph
80472e3754 treewide: add __attrsFailEvaluation and __recurseIntoDerivationForReleaseJobs 2023-12-15 05:13:46 -08:00
piegames
fc495aea1f gnomeExtensions: Update for GNOME 45 2023-11-21 08:42:35 +01:00
piegames
23b238fc9b
Revert "gnomeExtensions: Update for GNOME 45" 2023-10-15 13:22:54 +02:00
piegames
817e2ca434 gnomeExtensions: Update for GNOME 45 2023-10-11 17:12:24 +02:00
ChaosAttractor
c9e56bdab7 gnomeExtensions: Update for GNOME 44 2023-04-16 14:44:12 +08:00
Florian Klink
b18e4988e8 pkgs.gnome43Extensions: expose GNOME 43 extensions
gnome*Extensions: add note to import in all-packages.nix

See https://github.com/NixOS/nixpkgs/pull/196424#pullrequestreview-1144427603
2022-10-18 17:11:57 +02:00
piegames
73e71f2ef9 gnomeExtensions: Update for GNOME 43 2022-09-27 13:39:06 +02:00
Robert Hensing
200175a701 config.allowAliases: Define as option
This simplifies usages and makes the default value consistent.

In a few cases, the default value was interpreted to be `false`,
but this is useless, because virtually nobody will explicitly
set `allowAliases = true;`.
2022-04-01 11:33:10 +02:00
Ryan Horiguchi
af26200234
gnomeExtensions: add gnome40Extensions to gnomeExtensions 2022-03-28 16:48:58 +02:00
piegames
d30f68d0b8 gnomeExtensions: 41 → 42 2022-03-25 15:02:50 +01:00
Ryan Horiguchi
b8229f288c
gnomeExtensions: add GNOME 42 extensions 2022-03-20 17:59:37 +01:00
piegames
620b40bdbf
Merge PR #146183: gnomeExtensions: make buildShellExtension visible 2021-11-22 01:44:00 +01:00
Ryan Horiguchi
0cd1cbefe6
gnomeExtensions: auto-update 2021-11-20 12:58:00 +01:00
tu-maurice
a19640fb81 gnomeExtensions: make buildShellExtension visible
Simply inheriting does not work because all-packages.nix explicitly inherits
only gnomeExtensions and gnome*Extensions.
2021-11-15 22:00:20 +01:00
Ryan Horiguchi
934ced4e81
gnomeExtensions: set default version to 41 2021-10-27 00:18:43 +02:00
piegames
49041cd82e gnomeExtensions: rename extensionPatches.nix to extensionOverrides.nix 2021-09-24 20:59:15 +02:00
piegames
2c063fe250 gnomeExtensions: add patch framework
It's like Haskell's overlay system, but way more primitive. We simply pre-define some
package overrides that are required for an automatically packaged extension to work.
Ideally, all (or almost all) currently manually pacakged extensions will work this way.

Since these are mostly just a few lines each, there is no need to split this up into a
lot of small files.
2021-09-08 22:54:31 +02: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
48db86f42c gnomeExtensions: Remove remove-dropdown-arrows 2021-07-14 03:23:36 +02:00
Anders Kaseorg
4f0cf23ea3 gnomeExtensions: allowAliases should default to true if unset
Make this use of config.allowAliases consistent with every other use
in the tree.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-06-01 10:24:49 -07:00
Jan Tojnar
571d540abf
gnomeExtensions: Fix the package names
I did not realize the attribute names are derived from the Nix package names
so I accidentally, renamed them in https://github.com/NixOS/nixpkgs/pull/124295.
2021-05-25 02:35:04 +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