Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkgs/desktops/gnome/extensions/EasyScreenCast/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ stdenv.mkDerivation rec {

makeFlags = [ "INSTALLBASE=$(out)/share/gnome-shell/extensions" ];

uuid = "EasyScreenCast@iacopodeenosee.gmail.com";
passthru.extensionUuid = "EasyScreenCast@iacopodeenosee.gmail.com";

meta = with lib; {
description = "Simplifies the use of the video recording function integrated in gnome shell";
Expand Down
36 changes: 0 additions & 36 deletions pkgs/desktops/gnome/extensions/appindicator/default.nix

This file was deleted.

5 changes: 4 additions & 1 deletion pkgs/desktops/gnome/extensions/arcmenu/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ stdenv.mkDerivation rec {

makeFlags = [ "INSTALLBASE=${placeholder "out"}/share/gnome-shell/extensions" ];

uuid = "arcmenu@arcmenu.com";
passthru = {
extensionUuid = "arcmenu@arcmenu.com";
extensionPortalSlug = "arcmenu";
};

meta = with lib; {
description = "Application menu for GNOME Shell, designed to provide a more traditional user experience and workflow";
Expand Down
7 changes: 5 additions & 2 deletions pkgs/desktops/gnome/extensions/caffeine/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ stdenv.mkDerivation rec {
sha256 = "0dyagnjmk91h96xr98mc177c473bqpxcv86qf6g3kyh3arwa9shs";
};

uuid = "caffeine@patapon.info";
passthru = {
extensionPortalSlug = "caffeine";
extensionUuid = "caffeine@patapon.info";
};

nativeBuildInputs = [
glib gettext
Expand All @@ -27,7 +30,7 @@ stdenv.mkDerivation rec {
installPhase = ''
runHook preInstall
mkdir -p $out/share/gnome-shell/extensions
cp -r ${uuid} $out/share/gnome-shell/extensions
cp -r "caffeine@patapon.info" $out/share/gnome-shell/extensions
runHook postInstall
'';

Expand Down
32 changes: 0 additions & 32 deletions pkgs/desktops/gnome/extensions/clipboard-indicator/default.nix

This file was deleted.

9 changes: 6 additions & 3 deletions pkgs/desktops/gnome/extensions/clock-override/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ stdenv.mkDerivation rec {
stripRoot = false;
};

uuid = "clock-override@gnomeshell.kryogenix.org";
passthru = {
extensionUuid = "clock-override@gnomeshell.kryogenix.org";
extensionPortalSlug = "clock-override";
};

nativeBuildInputs = [ gettext glib ];

Expand All @@ -22,8 +25,8 @@ stdenv.mkDerivation rec {

installPhase = ''
runHook preInstall
mkdir -p $out/share/gnome-shell/extensions/${uuid}
cp -r {convenience.js,extension.js,format.js,locale,metadata.json,prefs.js,schemas} $out/share/gnome-shell/extensions/${uuid}
mkdir -p "$out/share/gnome-shell/extensions/clock-override@gnomeshell.kryogenix.org"
cp -r {convenience.js,extension.js,format.js,locale,metadata.json,prefs.js,schemas} "$out/share/gnome-shell/extensions/clock-override@gnomeshell.kryogenix.org"
runHook postInstall
'';

Expand Down
5 changes: 4 additions & 1 deletion pkgs/desktops/gnome/extensions/dash-to-dock/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ stdenv.mkDerivation rec {
"INSTALLBASE=${placeholder "out"}/share/gnome-shell/extensions"
];

uuid = "dash-to-dock@micxgx.gmail.com";
passthru = {
extensionUuid = "dash-to-dock@micxgx.gmail.com";
extensionPortalSlug = "dash-to-dock";
};

meta = with lib; {
description = "A dock for the Gnome Shell";
Expand Down
5 changes: 4 additions & 1 deletion pkgs/desktops/gnome/extensions/dash-to-panel/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ stdenv.mkDerivation rec {

makeFlags = [ "INSTALLBASE=$(out)/share/gnome-shell/extensions" ];

uuid = "dash-to-panel@jderose9.github.com";
passthru = {
extensionUuid = "dash-to-panel@jderose9.github.com";
extensionPortalSlug = "dash-to-panel";
};

meta = with lib; {
description = "An icon taskbar for Gnome Shell";
Expand Down
7 changes: 5 additions & 2 deletions pkgs/desktops/gnome/extensions/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ lib
, callPackage
, callPackages
, config
}:
let
Expand Down Expand Up @@ -60,14 +61,16 @@ in rec {
gnome40Extensions = mapUuidNames (produceExtensionsList "40");

gnomeExtensions = lib.recurseIntoAttrs (
(mapReadableNames (produceExtensionsList "40"))
// (callPackage ./manuallyPackaged.nix {})
(mapReadableNames
(lib.attrValues (gnome40Extensions // (callPackages ./manuallyPackaged.nix {})))
)
// lib.optionalAttrs (config.allowAliases or true) {
unite-shell = gnomeExtensions.unite; # added 2021-01-19
arc-menu = gnomeExtensions.arcmenu; # added 2021-02-14

nohotcorner = throw "gnomeExtensions.nohotcorner removed since 2019-10-09: Since 3.34, it is a part of GNOME Shell configurable through GNOME Tweaks.";
mediaplayer = throw "gnomeExtensions.mediaplayer deprecated since 2019-09-23: retired upstream https://github.com/JasonLG1979/gnome-shell-extensions-mediaplayer/blob/master/README.md";
remove-dropdown-arrows = throw "gnomeExtensions.remove-dropdown-arrows removed since 2021-05-25: The extensions has not seen an update sine GNOME 3.34. Furthermore, the functionality it provides is obsolete as of GNOME 40.";
}
);
}
31 changes: 0 additions & 31 deletions pkgs/desktops/gnome/extensions/disable-unredirect/default.nix

This file was deleted.

29 changes: 0 additions & 29 deletions pkgs/desktops/gnome/extensions/draw-on-your-screen/default.nix

This file was deleted.

7 changes: 5 additions & 2 deletions pkgs/desktops/gnome/extensions/drop-down-terminal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ stdenv.mkDerivation rec {
sha256 = "0igfxgrjdqq6z6xg4rsawxn261pk25g5dw2pm3bhwz5sqsy4bq3i";
};

uuid = "drop-down-terminal@gs-extensions.zzrough.org";
passthru = {
extensionUuid = "drop-down-terminal@gs-extensions.zzrough.org";
extensionPortalSlug = "drop-down-terminal";
};

patches = [
(substituteAll {
Expand All @@ -23,7 +26,7 @@ stdenv.mkDerivation rec {
installPhase = ''
runHook preInstall
mkdir -p $out/share/gnome-shell/extensions
cp -r ${uuid} $out/share/gnome-shell/extensions/
cp -r "drop-down-terminal@gs-extensions.zzrough.org" $out/share/gnome-shell/extensions/
runHook postInstall
'';

Expand Down

This file was deleted.

9 changes: 6 additions & 3 deletions pkgs/desktops/gnome/extensions/emoji-selector/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,23 @@ stdenv.mkDerivation rec {
sha256 = "0x60pg5nl5d73av494dg29hyfml7fbf2d03wm053vx1q8a3pxbyb";
};

uuid = "emoji-selector@maestroschan.fr";
passthru = {
extensionUuid = "emoji-selector@maestroschan.fr";
extensionPortalSlug = "emoji-selector";
};

nativeBuildInputs = [ glib ];

buildPhase = ''
runHook preBuild
glib-compile-schemas ./${uuid}/schemas
glib-compile-schemas "./emoji-selector@maestroschan.fr/schemas"
runHook postBuild
'';

installPhase = ''
runHook preInstall
mkdir -p $out/share/gnome-shell/extensions
cp -r ${uuid} $out/share/gnome-shell/extensions
cp -r "emoji-selector@maestroschan.fr" $out/share/gnome-shell/extensions
runHook postInstall
'';

Expand Down
22 changes: 22 additions & 0 deletions pkgs/desktops/gnome/extensions/extensionRenames.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
"lockkeys@fawtytoo" = "lock-keys-2";



# ############################################################################
# These are conflicts for 3.38 extensions. They will very probably come back
# once more of them support 40.

Expand All @@ -26,4 +28,24 @@

# That extension is broken because of https://github.com/NixOS/nixpkgs/issues/118612
#"flypie@schneegans.github.com" = null;



# ############################################################################
# Overrides for extensions that were manually packaged in the past but are gradually
# being replaced by automatic packaging where possible.
#
# The manually packaged ones:
"EasyScreenCast@iacopodeenosee.gmail.com" = "easyScreenCast"; # extensionPortalSlug is "easyscreencast"
"gnome-fuzzy-app-search@gnome-shell-extensions.Czarlie.gitlab.com" = "fuzzy-app-search"; # extensionPortalSlug is "gnome-fuzzy-app-search"
"TopIcons@phocean.net" = "topicons-plus"; # extensionPortalSlug is "topicons"
"paperwm@hedning:matrix.org" = "paperwm"; # is not on extensions.gnome.org
"no-title-bar@jonaspoehler.de" = "no-title-bar"; # extensionPortalSlug is "no-title-bar-forked"
# These extensions are automatically packaged at the moment. We preserve the old attribute name
# for backwards compatibility.
"appindicatorsupport@rgcjonas.gmail.com" = "appindicator"; # extensionPortalSlug is "appindicator-support"
"unredirect@vaina.lt" = "disable-unredirect"; # extensionPortalSlug is "disable-unredirect-fullscreen-windows"
"drawOnYourScreen@abakkk.framagit.org" = "draw-on-your-screen"; # extensionPortalSlug is "draw-on-you-screen"
"timepp@zagortenay333" = "timepp"; # extensionPortalSlug is "time"
"windowIsReady_Remover@nunofarruca@gmail.com" = "window-is-ready-remover"; # extensionPortalSlug is "window-is-ready-notification-remover"
}
9 changes: 6 additions & 3 deletions pkgs/desktops/gnome/extensions/freon/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ stdenv.mkDerivation rec {
pname = "gnome-shell-extension-freon";
version = "44";

uuid = "freon@UshakovVasilii_Github.yahoo.com";
passthru = {
extensionUuid = "freon@UshakovVasilii_Github.yahoo.com";
extensionPortalSlug = "freon";
};

src = fetchFromGitHub {
owner = "UshakovVasilii";
Expand All @@ -17,14 +20,14 @@ stdenv.mkDerivation rec {

buildPhase = ''
runHook preBuild
glib-compile-schemas --strict --targetdir=${uuid}/schemas ${uuid}/schemas
glib-compile-schemas --strict --targetdir="freon@UshakovVasilii_Github.yahoo.com/schemas" "freon@UshakovVasilii_Github.yahoo.com/schemas"
runHook postBuild
'';

installPhase = ''
runHook preInstall
mkdir -p $out/share/gnome-shell/extensions
cp -r ${uuid} $out/share/gnome-shell/extensions
cp -r "freon@UshakovVasilii_Github.yahoo.com" $out/share/gnome-shell/extensions
runHook postInstall
'';

Expand Down
Loading