diff --git a/pkgs/desktops/gnome/extensions/caffeine/default.nix b/pkgs/desktops/gnome/extensions/caffeine/default.nix deleted file mode 100644 index 7ac5f916736e..000000000000 --- a/pkgs/desktops/gnome/extensions/caffeine/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, glib, gettext, bash }: - -stdenv.mkDerivation rec { - pname = "gnome-shell-extension-caffeine"; - version = "38"; - - src = fetchFromGitHub { - owner = "eonpatapon"; - repo = "gnome-shell-extension-caffeine"; - rev = "v${version}"; - sha256 = "0dyagnjmk91h96xr98mc177c473bqpxcv86qf6g3kyh3arwa9shs"; - }; - - passthru = { - extensionPortalSlug = "caffeine"; - extensionUuid = "caffeine@patapon.info"; - }; - - nativeBuildInputs = [ - glib gettext - ]; - - buildPhase = '' - runHook preBuild - ${bash}/bin/bash ./update-locale.sh - glib-compile-schemas --strict --targetdir=caffeine@patapon.info/schemas/ caffeine@patapon.info/schemas - runHook postBuild - ''; - - installPhase = '' - runHook preInstall - mkdir -p $out/share/gnome-shell/extensions - cp -r "caffeine@patapon.info" $out/share/gnome-shell/extensions - runHook postInstall - ''; - - meta = with lib; { - description = "Fill the cup to inhibit auto suspend and screensaver"; - license = licenses.gpl2Only; - maintainers = with maintainers; [ eperuffo ]; - homepage = "https://github.com/eonpatapon/gnome-shell-extension-caffeine"; - }; -} diff --git a/pkgs/desktops/gnome/extensions/extensionOverrides.nix b/pkgs/desktops/gnome/extensions/extensionOverrides.nix index 058f0c54ad29..e8f9fb9cfb33 100644 --- a/pkgs/desktops/gnome/extensions/extensionOverrides.nix +++ b/pkgs/desktops/gnome/extensions/extensionOverrides.nix @@ -11,6 +11,10 @@ # the upstream repository's sources. super: super // { + "caffeine@patapon.info" = super."caffeine@patapon.info".overrideAttrs (old: { + meta.maintainers = with lib.maintainers; [ eperuffo ]; + }); + "dash-to-dock@micxgx.gmail.com" = super."dash-to-dock@micxgx.gmail.com".overrideAttrs (old: { meta.maintainers = with lib.maintainers; [ eperuffo jtojnar rhoriguchi ]; }); diff --git a/pkgs/desktops/gnome/extensions/manuallyPackaged.nix b/pkgs/desktops/gnome/extensions/manuallyPackaged.nix index 1c648e4a047c..553d51de14d4 100644 --- a/pkgs/desktops/gnome/extensions/manuallyPackaged.nix +++ b/pkgs/desktops/gnome/extensions/manuallyPackaged.nix @@ -1,7 +1,6 @@ { callPackage }: { "arcmenu@arcmenu.com" = callPackage ./arcmenu { }; - "caffeine@patapon.info" = callPackage ./caffeine { }; "clock-override@gnomeshell.kryogenix.org" = callPackage ./clock-override { }; "dash-to-panel@jderose9.github.com" = callPackage ./dash-to-panel { }; "drop-down-terminal@gs-extensions.zzrough.org" = callPackage ./drop-down-terminal { };