diff --git a/pkgs/desktops/gnome/extensions/clock-override/default.nix b/pkgs/desktops/gnome/extensions/clock-override/default.nix deleted file mode 100644 index 2092cd7f1713..000000000000 --- a/pkgs/desktops/gnome/extensions/clock-override/default.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ - lib, - stdenv, - fetchzip, - gnome-shell, - gettext, - glib, -}: - -stdenv.mkDerivation rec { - pname = "gnome-shell-extension-clock-override"; - version = "12"; - - src = fetchzip { - url = "https://extensions.gnome.org/extension-data/clock-overridegnomeshell.kryogenix.org.v${version}.shell-extension.zip"; - sha256 = "1cyaszks6bwnbgacqsl1pmr24mbj05mad59d4253la9am8ibb4m6"; - stripRoot = false; - }; - - passthru = { - extensionUuid = "clock-override@gnomeshell.kryogenix.org"; - extensionPortalSlug = "clock-override"; - }; - - nativeBuildInputs = [ - gettext - glib - ]; - - buildPhase = '' - runHook preBuild - glib-compile-schemas --strict --targetdir=schemas schemas - runHook postBuild - ''; - - installPhase = '' - runHook preInstall - 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 - ''; - - meta = { - description = "Customize the date and time format displayed in clock in the top bar in GNOME Shell"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ rhoriguchi ]; - homepage = "https://github.com/stuartlangridge/gnome-shell-clock-override"; - broken = lib.versionOlder gnome-shell.version "3.18"; - }; -} diff --git a/pkgs/desktops/gnome/extensions/default.nix b/pkgs/desktops/gnome/extensions/default.nix index 0ffbdcacf091..0e4975f40a94 100644 --- a/pkgs/desktops/gnome/extensions/default.nix +++ b/pkgs/desktops/gnome/extensions/default.nix @@ -96,10 +96,20 @@ rec { unite-shell = gnomeExtensions.unite; # added 2021-01-19 arc-menu = gnomeExtensions.arcmenu; # added 2021-02-14 + clock-override = throw "'gnomeExtensions.clock-override' has been removed due to lack of upstream maintenance"; + drop-down-terminal = throw "'gnomeExtensions.drop-down-terminal' has been removed due to lack of upstream maintenance"; icon-hider = throw "gnomeExtensions.icon-hider was removed on 2024-03-15. The extension has not received any updates since 2020/3.34."; - 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"; + no-title-bar = throw "'gnomeExtensions.no-title-bar' has been removed due to lack of upstream maintenance"; + nohotcorner = throw "gnomeExtensions.nohotcorner removed since 2019-10-09: Since 3.34, it is a part of GNOME Shell configurable through GNOME Tweaks."; + pano = throw "'gnomeExtensions.pano' has been removed due to lack of upstream maintenance"; + pidgin-im-integration = throw "'gnomeExtensions.pidgin-im-integration' has been removed due to lack of upstream maintenance"; 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."; + sound-output-device-chooser = throw "'gnomeExtensions.sound-output-device-chooser' has been removed due to lack of upstream maintenance"; + taskwhisperer = throw "'gnomeExtensions.taskwhisperer' has been removed due to lack of upstream maintenance"; + tilingnome = throw "'gnomeExtensions.tilingnome' has been removed due to lack of upstream maintenance"; + topicons-plus = throw "'gnomeExtensions.topicons-plus' has been removed due to lack of upstream maintenance"; + window-corner-preview = throw "'gnomeExtensions.window-corner-preview' has been removed due to lack of upstream maintenance"; } ) # Export buildShellExtension function diff --git a/pkgs/desktops/gnome/extensions/drop-down-terminal/default.nix b/pkgs/desktops/gnome/extensions/drop-down-terminal/default.nix deleted file mode 100644 index 753c9b969bec..000000000000 --- a/pkgs/desktops/gnome/extensions/drop-down-terminal/default.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - replaceVars, - gjs, - vte, - gnome, -}: - -stdenv.mkDerivation { - pname = "gnome-shell-extension-drop-down-terminal"; - version = "unstable-2020-03-25"; - - src = fetchFromGitHub { - owner = "zzrough"; - repo = "gs-extensions-drop-down-terminal"; - rev = "a59669afdb395b3315619f62c1f740f8b2f0690d"; - sha256 = "0igfxgrjdqq6z6xg4rsawxn261pk25g5dw2pm3bhwz5sqsy4bq3i"; - }; - - passthru = { - extensionUuid = "drop-down-terminal@gs-extensions.zzrough.org"; - extensionPortalSlug = "drop-down-terminal"; - }; - - patches = [ - (replaceVars ./fix_vte_and_gjs.patch { - inherit gjs vte; - }) - ]; - - installPhase = '' - runHook preInstall - mkdir -p $out/share/gnome-shell/extensions - cp -r "drop-down-terminal@gs-extensions.zzrough.org" $out/share/gnome-shell/extensions/ - runHook postInstall - ''; - - meta = { - description = "Configurable drop down terminal shell"; - license = lib.licenses.gpl3; - maintainers = with lib.maintainers; [ ericdallo ]; - homepage = "https://github.com/zzrough/gs-extensions-drop-down-terminal"; - }; -} diff --git a/pkgs/desktops/gnome/extensions/drop-down-terminal/fix_vte_and_gjs.patch b/pkgs/desktops/gnome/extensions/drop-down-terminal/fix_vte_and_gjs.patch deleted file mode 100644 index cb7a36286ae9..000000000000 --- a/pkgs/desktops/gnome/extensions/drop-down-terminal/fix_vte_and_gjs.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- a/drop-down-terminal@gs-extensions.zzrough.org/extension.js -+++ b/drop-down-terminal@gs-extensions.zzrough.org/extension.js -@@ -15,6 +15,8 @@ - - // Author: Stéphane Démurget - -+imports.gi.GIRepository.Repository.dup_default().prepend_search_path('@vte@/lib/girepository-1.0') -+ - const Lang = imports.lang; - const Gettext = imports.gettext.domain("drop-down-terminal"); - const Mainloop = imports.mainloop; -@@ -653,7 +655,7 @@ const DropDownTerminalExtension = new Lang.Class({ - this._killingChild = false; - - // finds the forking arguments -- let args = ["gjs", GLib.build_filenamev([Me.path, "terminal.js"]), Me.path]; -+ let args = ["@gjs@/bin/gjs", GLib.build_filenamev([Me.path, "terminal.js"]), Me.path]; - - // forks the process - debug("forking '" + args.join(" ") + "'"); ---- a/drop-down-terminal@gs-extensions.zzrough.org/terminal.js -+++ b/drop-down-terminal@gs-extensions.zzrough.org/terminal.js -@@ -14,6 +14,9 @@ - // along with this program. If not, see . - - // Author: Stéphane Démurget -+ -+imports.gi.GIRepository.Repository.dup_default().prepend_search_path('@vte@/lib/girepository-1.0') -+ - const Lang = imports.lang; - - const Pango = imports.gi.Pango; diff --git a/pkgs/desktops/gnome/extensions/extensionRenames.nix b/pkgs/desktops/gnome/extensions/extensionRenames.nix index b82bba07960f..9b4a30ba6e1f 100644 --- a/pkgs/desktops/gnome/extensions/extensionRenames.nix +++ b/pkgs/desktops/gnome/extensions/extensionRenames.nix @@ -85,8 +85,6 @@ # 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" - "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" diff --git a/pkgs/desktops/gnome/extensions/manuallyPackaged.nix b/pkgs/desktops/gnome/extensions/manuallyPackaged.nix index 041123ef196e..c815bf760c39 100644 --- a/pkgs/desktops/gnome/extensions/manuallyPackaged.nix +++ b/pkgs/desktops/gnome/extensions/manuallyPackaged.nix @@ -2,25 +2,16 @@ { "arcmenu@arcmenu.com" = callPackage ./arcmenu { }; "argos@pew.worldwidemann.com" = callPackage ./argos { }; - "clock-override@gnomeshell.kryogenix.org" = callPackage ./clock-override { }; - "drop-down-terminal@gs-extensions.zzrough.org" = callPackage ./drop-down-terminal { }; "EasyScreenCast@iacopodeenosee.gmail.com" = callPackage ./EasyScreenCast { }; "forge@jmmaranan.com" = callPackage ./forge { }; "gsconnect@andyholmes.github.io" = callPackage ./gsconnect { }; "guillotine@fopdoodle.net" = callPackage ./guillotine { }; "impatience@gfxmonk.net" = callPackage ./impatience { }; - "no-title-bar@jonaspoehler.de" = callPackage ./no-title-bar { }; - "pidgin@muffinmad" = callPackage ./pidgin-im-integration { }; "pop-shell@system76.com" = callPackage ./pop-shell { }; - "sound-output-device-chooser@kgshank.net" = callPackage ./sound-output-device-chooser { }; + # hardpixel extensions won't receive updates on extensions.gnome.org: + # - https://github.com/hardpixel/systemd-manager/issues/19 + # - https://github.com/hardpixel/unite-shell/issues/353 "systemd-manager@hardpixel.eu" = callPackage ./systemd-manager { }; - "taskwhisperer-extension@infinicode.de" = callPackage ./taskwhisperer { }; - "tilingnome@rliang.github.com" = callPackage ./tilingnome { }; - "TopIcons@phocean.net" = callPackage ./topicons-plus { }; - # Can be removed when https://github.com/hardpixel/unite-shell/issues/353 resolved "unite@hardpixel.eu" = callPackage ./unite { }; "valent@andyholmes.ca" = callPackage ./valent { }; - "window-corner-preview@fabiomereu.it" = callPackage ./window-corner-preview { }; - # Can be removed when https://github.com/oae/gnome-shell-pano/issues/271 resolved - "pano@elhan.io" = callPackage ./pano { }; } diff --git a/pkgs/desktops/gnome/extensions/no-title-bar/default.nix b/pkgs/desktops/gnome/extensions/no-title-bar/default.nix deleted file mode 100644 index 8571b0ac462b..000000000000 --- a/pkgs/desktops/gnome/extensions/no-title-bar/default.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - replaceVars, - glib, - gettext, - xwininfo, - xprop, -}: - -stdenv.mkDerivation rec { - pname = "gnome-shell-extension-no-title-bar"; - version = "11"; - - src = fetchFromGitHub { - owner = "poehlerj"; - repo = "no-title-bar"; - rev = "V_${version}"; - sha256 = "07ddw47binlsbyvgy4xkdjvd40zyp7nwd17r6k7w54d50vmnwhvb"; - }; - - nativeBuildInputs = [ - glib - gettext - ]; - - patches = [ - (replaceVars ./fix-paths.patch { - xprop = "${xprop}/bin/xprop"; - xwininfo = "${xwininfo}/bin/xwininfo"; - }) - ]; - - makeFlags = [ "INSTALLBASE=$(out)/share/gnome-shell/extensions" ]; - - passthru = { - extensionUuid = "no-title-bar@jonaspoehler.de"; - }; - - meta = { - description = "Integrates maximized windows with the top panel"; - homepage = "https://github.com/poehlerj/no-title-bar"; - license = lib.licenses.gpl2; - maintainers = with lib.maintainers; [ svsdep ]; - platforms = lib.platforms.linux; - }; -} diff --git a/pkgs/desktops/gnome/extensions/no-title-bar/fix-paths.patch b/pkgs/desktops/gnome/extensions/no-title-bar/fix-paths.patch deleted file mode 100644 index fb2d3d57e51d..000000000000 --- a/pkgs/desktops/gnome/extensions/no-title-bar/fix-paths.patch +++ /dev/null @@ -1,56 +0,0 @@ -diff --git a/decoration.js b/decoration.js -index d1ff3dd..ff4193f 100644 ---- a/decoration.js -+++ b/decoration.js -@@ -223,7 +223,7 @@ var Decoration = class { - - let winId = this._guessWindowXID(win); - -- let xprops = GLib.spawn_command_line_sync(`xprop -id ${winId}`); -+ let xprops = GLib.spawn_command_line_sync(`@xprop@ -id ${winId}`); - if (!xprops[0]) { - Utils.log_debug(`Unable to determine windows '${win.get_title()}' original state`); - return win._noTitleBarOriginalState = WindowState.UNKNOWN; -@@ -237,7 +237,7 @@ var Decoration = class { - let prop = '_MOTIF_WM_HINTS'; - let value = '0x2, 0x0, %s, 0x0, 0x0'.format(hide ? '0x2' : '0x1'); - -- GLib.spawn_command_line_sync(`xprop -id ${windId} -f ${prop} 32c -set ${prop} "${value}"`); -+ GLib.spawn_command_line_sync(`@xprop@ -id ${windId} -f ${prop} 32c -set ${prop} "${value}"`); - if (!hide && !win.titlebar_is_onscreen()) { - Utils.log_debug(`Shoving titlebar onscreen for window '${win.get_title()}'`); - win.shove_titlebar_onscreen(); -@@ -354,7 +354,7 @@ var Decoration = class { - let act = win.get_compositor_private(); - let xwindow = act && act['x-window']; - if (xwindow) { -- let xwininfo = GLib.spawn_command_line_sync('xwininfo -children -id 0x%x'.format(xwindow)); -+ let xwininfo = GLib.spawn_command_line_sync('@xwininfo@ -children -id 0x%x'.format(xwindow)); - if (xwininfo[0]) { - let str = ByteArray.toString(xwininfo[1]); - -@@ -384,7 +384,7 @@ var Decoration = class { - // Try enumerating all available windows and match the title. Note that this - // may be necessary if the title contains special characters and `x-window` - // is not available. -- let result = GLib.spawn_command_line_sync('xprop -root _NET_CLIENT_LIST'); -+ let result = GLib.spawn_command_line_sync('@xprop@ -root _NET_CLIENT_LIST'); - if (result[0]) { - let str = ByteArray.toString(result[1]); - -@@ -395,7 +395,7 @@ var Decoration = class { - - // For each window ID, check if the title matches the desired title. - for (var i = 0; i < windowList.length; ++i) { -- let cmd = 'xprop -id "' + windowList[i] + '" _NET_WM_NAME _NO_TITLE_BAR_ORIGINAL_STATE'; -+ let cmd = '@xprop@ -id "' + windowList[i] + '" _NET_WM_NAME _NO_TITLE_BAR_ORIGINAL_STATE'; - let result = GLib.spawn_command_line_sync(cmd); - - if (result[0]) { -@@ -455,4 +455,4 @@ var Decoration = class { - let styleContent = this._updateUserStyles(); - GLib.file_set_contents(this._userStylesPath, styleContent); - } --} -\ No newline at end of file -+} diff --git a/pkgs/desktops/gnome/extensions/pano/default.nix b/pkgs/desktops/gnome/extensions/pano/default.nix deleted file mode 100644 index f9eae7b6d3e4..000000000000 --- a/pkgs/desktops/gnome/extensions/pano/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ - lib, - stdenv, - fetchzip, - glib, - libgda6, - gsound, -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "gnome-shell-extension-pano"; - version = "23-alpha5"; - - src = fetchzip { - url = "https://github.com/oae/gnome-shell-pano/releases/download/v${finalAttrs.version}/pano@elhan.io.zip"; - hash = "sha256-kTaJOSyFtBa/fl3Mot8Q8qyhwJwhcbBY4FvdztqUP4w="; - stripRoot = false; - }; - - nativeBuildInputs = [ - glib - ]; - - buildPhase = '' - runHook preBuild - glib-compile-schemas --strict schemas - runHook postBuild - ''; - - preInstall = '' - substituteInPlace extension.js \ - --replace-fail "import Gda from 'gi://Gda?version>=5.0'" "imports.gi.GIRepository.Repository.prepend_search_path('${libgda6}/lib/girepository-1.0'); const Gda = (await import('gi://Gda')).default" \ - --replace-fail "import GSound from 'gi://GSound'" "imports.gi.GIRepository.Repository.prepend_search_path('${gsound}/lib/girepository-1.0'); const GSound = (await import('gi://GSound')).default" - ''; - - installPhase = '' - runHook preInstall - mkdir -p $out/share/gnome-shell/extensions - cp -r -T . $out/share/gnome-shell/extensions/pano@elhan.io - runHook postInstall - ''; - - passthru = { - extensionPortalSlug = "pano"; - extensionUuid = "pano@elhan.io"; - }; - - meta = { - description = "Next-gen Clipboard Manager for Gnome Shell"; - homepage = "https://github.com/oae/gnome-shell-pano"; - license = lib.licenses.gpl2Plus; - maintainers = with lib.maintainers; [ honnip ]; - platforms = lib.platforms.linux; - }; -}) diff --git a/pkgs/desktops/gnome/extensions/pidgin-im-integration/default.nix b/pkgs/desktops/gnome/extensions/pidgin-im-integration/default.nix deleted file mode 100644 index 4a21f6c48c88..000000000000 --- a/pkgs/desktops/gnome/extensions/pidgin-im-integration/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - glib, - gnome-shell, -}: - -stdenv.mkDerivation rec { - pname = "gnome-shell-extension-pidgin-im-integration"; - version = "32"; - - src = fetchFromGitHub { - owner = "muffinmad"; - repo = "pidgin-im-gnome-shell-extension"; - rev = "v${version}"; - sha256 = "1jyg8r0s1v83sgg6y0jbsj2v37mglh8rvd8vi27fxnjq9xmg8kpc"; - }; - - dontConfigure = true; - dontBuild = true; - - installPhase = '' - runHook preInstall - share_dir="$prefix/share" - extensions_dir="$share_dir/gnome-shell/extensions/pidgin@muffinmad" - mkdir -p "$extensions_dir" - mv *.js metadata.json dbus.xml schemas locale "$extensions_dir" - runHook postInstall - ''; - - passthru = { - extensionUuid = "pidgin@muffinmad"; - extensionPortalSlug = "pidgin-im-integration"; - }; - - meta = { - homepage = "https://github.com/muffinmad/pidgin-im-gnome-shell-extension"; - description = "Make Pidgin IM conversations appear in the Gnome Shell message tray"; - license = lib.licenses.gpl2; - platforms = lib.platforms.linux; - maintainers = [ ]; - broken = lib.versionAtLeast gnome-shell.version "3.32"; # Doesn't support 3.34 - }; -} diff --git a/pkgs/desktops/gnome/extensions/sound-output-device-chooser/default.nix b/pkgs/desktops/gnome/extensions/sound-output-device-chooser/default.nix deleted file mode 100644 index a997df765753..000000000000 --- a/pkgs/desktops/gnome/extensions/sound-output-device-chooser/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ - lib, - stdenv, - replaceVars, - fetchFromGitHub, - libpulseaudio, - python3, -}: - -stdenv.mkDerivation { - pname = "gnome-shell-extension-sound-output-device-chooser"; - # For gnome 42 support many commits not tagged yet are needed. - version = "unstable-2022-03-29"; - - src = fetchFromGitHub { - owner = "kgshank"; - repo = "gse-sound-output-device-chooser"; - rev = "76f7f59d23f5ffcd66555c7662f43c9cc1ce4742"; - sha256 = "sha256-iPc95LmDsYizLg45wpU+vFx/N6MR2hewSHqoRsePC/4="; - }; - - patches = [ - # Fix paths to libpulse and python - (replaceVars ./fix-paths.patch { - libpulse = "${libpulseaudio}/lib/libpulse.so"; - python = python3.interpreter; - }) - ]; - - dontBuild = true; - - passthru = { - extensionUuid = "sound-output-device-chooser@kgshank.net"; - extensionPortalSlug = "sound-output-device-chooser"; - }; - - makeFlags = [ - "INSTALL_DIR=${placeholder "out"}/share/gnome-shell/extensions" - ]; - - preInstall = '' - mkdir -p ${placeholder "out"}/share/gnome-shell/extensions - ''; - - meta = { - description = "GNOME Shell extension adding audio device chooser to panel"; - license = lib.licenses.gpl3Plus; - maintainers = [ ]; - homepage = "https://github.com/kgshank/gse-sound-output-device-chooser"; - }; -} diff --git a/pkgs/desktops/gnome/extensions/sound-output-device-chooser/fix-paths.patch b/pkgs/desktops/gnome/extensions/sound-output-device-chooser/fix-paths.patch deleted file mode 100644 index 1971bf1e5e74..000000000000 --- a/pkgs/desktops/gnome/extensions/sound-output-device-chooser/fix-paths.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/sound-output-device-chooser@kgshank.net/convenience.js b/sound-output-device-chooser@kgshank.net/convenience.js -index 54ad06f..0860531 100644 ---- a/sound-output-device-chooser@kgshank.net/convenience.js -+++ b/sound-output-device-chooser@kgshank.net/convenience.js -@@ -142,7 +142,7 @@ function refreshCards() { - if (newProfLogic) { - _log("New logic"); - let pyLocation = Me.dir.get_child("utils/pa_helper.py").get_path(); -- let pythonExec = ["python", "python3", "python2"].find(cmd => isCmdFound(cmd)); -+ let pythonExec = '@python@'; - if (!pythonExec) { - _log("ERROR: Python not found. fallback to default mode"); - _settings.set_boolean(Prefs.NEW_PROFILE_ID, false); -diff --git a/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py b/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py -index c4d2484..262608d 100644 ---- a/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py -+++ b/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py -@@ -82,7 +82,7 @@ else: - - _libraries = {} - --libpulse_library_name = find_library('pulse') -+libpulse_library_name = '@libpulse@' - if libpulse_library_name is None: - raise Exception('No libpulse.so library found!') - diff --git a/pkgs/desktops/gnome/extensions/taskwhisperer/default.nix b/pkgs/desktops/gnome/extensions/taskwhisperer/default.nix deleted file mode 100644 index e699b8a3061d..000000000000 --- a/pkgs/desktops/gnome/extensions/taskwhisperer/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ - lib, - stdenv, - replaceVars, - fetchFromGitHub, - taskwarrior2, - gettext, - runtimeShell, -}: - -stdenv.mkDerivation rec { - pname = "gnome-shell-extension-taskwhisperer"; - version = "20"; - - src = fetchFromGitHub { - owner = "cinatic"; - repo = "taskwhisperer"; - rev = "v${version}"; - sha256 = "sha256-UVBLFXsbOPRXC4P5laZ82Rs08yXnNnzJ+pp5fbx6Zqc="; - }; - - nativeBuildInputs = [ - gettext - ]; - - buildInputs = [ - taskwarrior2 - ]; - - passthru = { - extensionUuid = "taskwhisperer-extension@infinicode.de"; - extensionPortalSlug = "taskwhisperer"; - }; - - makeFlags = [ - "INSTALLBASE=${placeholder "out"}/share/gnome-shell/extensions" - ]; - - patches = [ - (replaceVars ./fix-paths.patch { - task = "${taskwarrior2}/bin/task"; - }) - ]; - - meta = { - description = "GNOME Shell TaskWarrior GUI"; - license = lib.licenses.gpl3Plus; - maintainers = [ ]; - homepage = "https://github.com/cinatic/taskwhisperer"; - }; -} diff --git a/pkgs/desktops/gnome/extensions/taskwhisperer/fix-paths.patch b/pkgs/desktops/gnome/extensions/taskwhisperer/fix-paths.patch deleted file mode 100644 index 0e3ea668a8a1..000000000000 --- a/pkgs/desktops/gnome/extensions/taskwhisperer/fix-paths.patch +++ /dev/null @@ -1,99 +0,0 @@ -diff --git a/taskwhisperer-extension@infinicode.de/metadata.json b/taskwhisperer-extension@infinicode.de/metadata.json -index 2f1471c..a84bdf4 100644 ---- a/taskwhisperer-extension@infinicode.de/metadata.json -+++ b/taskwhisperer-extension@infinicode.de/metadata.json -@@ -6,7 +6,8 @@ - "3.32", - "3.36", - "3.38", -- "40" -+ "40", -+ "41" - ], - "url": "https://github.com/cinatic/taskwhisperer", - "uuid": "taskwhisperer-extension@infinicode.de", -diff --git a/taskwhisperer-extension@infinicode.de/services/taskService.js b/taskwhisperer-extension@infinicode.de/services/taskService.js -index df09cdf..df68c60 100644 ---- a/taskwhisperer-extension@infinicode.de/services/taskService.js -+++ b/taskwhisperer-extension@infinicode.de/services/taskService.js -@@ -63,7 +63,7 @@ var loadTaskData = async ({ taskStatus, project, taskOrder }) => { - - await syncTasks() - -- const command = ['task', 'rc.json.array=on', statusFilter, projectFilter, 'export'].join(' ') -+ const command = ['@task@', 'rc.json.array=on', statusFilter, projectFilter, 'export'].join(' ') - - let { output, error } = await run({ command }) - -@@ -110,7 +110,7 @@ var loadProjectsData = async taskStatus => { - - await syncTasks() - -- const command = ['task', 'rc.json.array=on', statusFilter, 'export'].join(' ') -+ const command = ['@task@', 'rc.json.array=on', statusFilter, 'export'].join(' ') - const { output: allTheTasks } = await run({ command }) - - let sortedUniqueProjects = [] -@@ -129,7 +129,7 @@ var setTaskDone = async taskID => { - return - } - -- const command = ['task', taskID.toString(), 'done'].join(' ') -+ const command = ['@task@', taskID.toString(), 'done'].join(' ') - const result = await run({ command, asJson: false }) - - if (!result.error) { -@@ -146,7 +146,7 @@ var setTaskUndone = async taskUUID => { - return - } - -- const command = ['task', `uuid:${taskUUID}`, 'modify', 'status:pending'].join(' ') -+ const command = ['@task@', `uuid:${taskUUID}`, 'modify', 'status:pending'].join(' ') - const result = await run({ command, asJson: false }) - - if (!result.error) { -@@ -163,7 +163,7 @@ var startTask = async taskID => { - return - } - -- const command = ['task', taskID.toString(), 'start'].join(' ') -+ const command = ['@task@', taskID.toString(), 'start'].join(' ') - const result = await run({ command, asJson: false }) - - if (!result.error) { -@@ -180,7 +180,7 @@ var stopTask = async taskID => { - return - } - -- const command = ['task', taskID.toString(), 'stop'].join(' ') -+ const command = ['@task@', taskID.toString(), 'stop'].join(' ') - const result = await run({ command, asJson: false }) - - if (!result.error) { -@@ -195,7 +195,7 @@ var stopTask = async taskID => { - var createTask = async task => { - const params = _convertTaskToParams(task) - -- const command = ['task', 'add', ...params].join(' ') -+ const command = ['@task@', 'add', ...params].join(' ') - const result = await run({ command, asJson: false }) - - if (!result.error) { -@@ -212,7 +212,7 @@ var modifyTask = async (taskUUID, task) => { - - const params = _convertTaskToParams(task) - -- const command = ['task', `uuid:${taskUUID}`, 'modify', ...params].join(' ') -+ const command = ['@task@', `uuid:${taskUUID}`, 'modify', ...params].join(' ') - const result = await run({ command, asJson: false }) - - if (!result.error) { -@@ -227,7 +227,7 @@ var syncTasks = async () => { - return - } - -- const command = ['task', 'sync'].join(' ') -+ const command = ['@task@', 'sync'].join(' ') - const result = await run({ command, asJson: false }) - - _showProcessErrorNotificationIfError(result, 'Sync Tasks') diff --git a/pkgs/desktops/gnome/extensions/tilingnome/default.nix b/pkgs/desktops/gnome/extensions/tilingnome/default.nix deleted file mode 100644 index 3f2241a0745a..000000000000 --- a/pkgs/desktops/gnome/extensions/tilingnome/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ - stdenv, - lib, - fetchFromGitHub, - glib, - gnome-shell, -}: - -stdenv.mkDerivation { - pname = "gnome-shell-extension-tilingnome"; - version = "unstable-2019-09-19"; - - src = fetchFromGitHub { - owner = "rliang"; - repo = "gnome-shell-extension-tilingnome"; - rev = "f401c20c9721d85e6b3e30d1e822a200db370407"; - sha256 = "1hq9g9bxqpzqrdj9zm0irld8r6q4w1m4b00jya7wsny8rzb1s0y2"; - }; - - nativeBuildInputs = [ glib ]; - - buildPhase = '' - runHook preBuild - glib-compile-schemas . - runHook postBuild - ''; - - installPhase = '' - runHook preInstall - mkdir -p "$out/share/gnome-shell/extensions/tilingnome@rliang.github.com" - cp -r * "$out/share/gnome-shell/extensions/tilingnome@rliang.github.com/" - runHook postInstall - ''; - - passthru = { - extensionUuid = "tilingnome@rliang.github.com"; - extensionPortalSlug = "tilingnome"; - }; - - meta = { - description = "Tiling window management for GNOME Shell"; - license = lib.licenses.gpl2; - maintainers = with lib.maintainers; [ benley ]; - homepage = "https://github.com/rliang/gnome-shell-extension-tilingnome"; - platforms = gnome-shell.meta.platforms; - }; -} diff --git a/pkgs/desktops/gnome/extensions/topicons-plus/default.nix b/pkgs/desktops/gnome/extensions/topicons-plus/default.nix deleted file mode 100644 index 42a6e85f8dff..000000000000 --- a/pkgs/desktops/gnome/extensions/topicons-plus/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - glib, - gettext, -}: - -stdenv.mkDerivation rec { - pname = "gnome-shell-extension-topicons-plus"; - version = "27"; - - src = fetchFromGitHub { - owner = "phocean"; - repo = "TopIcons-plus"; - rev = version; - sha256 = "1p3jlvs4zgnrvy8am7myivv4rnnshjp49kg87rd22qqyvcz51ykr"; - }; - - buildInputs = [ glib ]; - - nativeBuildInputs = [ gettext ]; - - makeFlags = [ "INSTALL_PATH=$(out)/share/gnome-shell/extensions" ]; - - passthru.extensionUuid = "TopIcons@phocean.net"; - - meta = { - description = "Brings all icons back to the top panel, so that it's easier to keep track of apps running in the backround"; - license = lib.licenses.gpl2Only; - maintainers = with lib.maintainers; [ eperuffo ]; - homepage = "https://github.com/phocean/TopIcons-plus"; - }; -} diff --git a/pkgs/desktops/gnome/extensions/window-corner-preview/default.nix b/pkgs/desktops/gnome/extensions/window-corner-preview/default.nix deleted file mode 100644 index 7e300ee97b38..000000000000 --- a/pkgs/desktops/gnome/extensions/window-corner-preview/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - gnome-shell, -}: - -stdenv.mkDerivation { - pname = "gnome-shell-extension-window-corner-preview"; - version = "unstable-2019-04-03"; - - src = fetchFromGitHub { - owner = "medenagan"; - repo = "window-corner-preview"; - rev = "a95bb1389d94474efab7509aac592fb58fff6006"; - sha256 = "03v18j9l0fb64xrg3swf1vcgl0kpgwjlp8ddn068bpvghrsvgfah"; - }; - - dontBuild = true; - - passthru = { - extensionUuid = "window-corner-preview@fabiomereu.it"; - extensionPortalSlug = "window-corner-preview"; - }; - - installPhase = '' - runHook preInstall - mkdir -p $out/share/gnome-shell/extensions - cp -r "window-corner-preview@fabiomereu.it" $out/share/gnome-shell/extensions - runHook postInstall - ''; - - meta = { - description = "GNOME Shell extension showing a video preview on the corner of the screen"; - license = lib.licenses.mit; - maintainers = [ ]; - homepage = "https://github.com/medenagan/window-corner-preview"; - broken = lib.versionAtLeast gnome-shell.version "3.32"; # Doesn't support 3.34 - }; -}