gnome-shell-extension-burn-my-windows: remove package

It is up-to-date from nixpkgs so it is unnecessary at this point.
This commit is contained in:
Gabriel Arazas 2022-04-15 20:56:18 +08:00
parent 2fa37a5a72
commit 1639f920c9
3 changed files with 1 additions and 51 deletions

View File

@ -91,6 +91,7 @@ in
# My preferred extensions.
gnomeExtensions.arcmenu
gnomeExtensions.appindicator
gnomeExtensions.burn-my-windows
gnomeExtensions.gsconnect
gnomeExtensions.x11-gestures
gnomeExtensions.kimpanel
@ -102,7 +103,6 @@ in
gnome-shell-extension-fly-pie
# TODO: Also these two...
gnome-shell-extension-burn-my-windows
gnome-shell-extension-desktop-cube
# GNOME search providers.

View File

@ -19,8 +19,6 @@ let
callPackage ./gnome-search-provider-browser-tabs.nix { };
gnome-search-provider-recoll =
callPackage ./gnome-search-provider-recoll.nix { };
gnome-shell-extension-burn-my-windows =
callPackage ./gnome-shell-extension-burn-my-windows.nix { };
gnome-extension-manager = callPackage ./gnome-extension-manager.nix { };
gnome-shell-extension-desktop-cube =
callPackage ./gnome-shell-extension-desktop-cube.nix { };

View File

@ -1,48 +0,0 @@
{ lib, stdenv, bash, fetchFromGitHub, glib, gettext, zip, unzip }:
# TODO: Deprecate this package once it is successfully packaged in nixpkgs.
stdenv.mkDerivation rec {
pname = "gnome-shell-extension-burn-my-windows";
version = "14";
src = fetchFromGitHub {
owner = "Schneegans";
repo = "Burn-My-Windows";
rev = "v${version}";
sha256 = "sha256-ptfwxOIQ38x9Wpj8IehEVRp5qugmKuylyFHnKhKFU+w=";
};
nativeBuildInputs = [ glib gettext ];
buildInputs = [ zip ];
skipConfigure = true;
buildPhase = ''
# This will create the necessary files to be exported.
# And we'll use the generated zip file as a foundation for the output.
make SHELL=${bash}/bin/bash ${passthru.extensionUuid}.zip
'';
installPhase = let
extensionDir =
"$out/share/gnome-shell/extensions/${passthru.extensionUuid}";
in ''
# Install the required extensions file.
mkdir -p ${extensionDir}
${unzip}/bin/unzip ${passthru.extensionUuid}.zip -d ${extensionDir}
# Install the GSchema.
install -Dm644 schemas/* -t "${
glib.makeSchemaPath "$out" "${pname}-${version}"
}"
'';
passthru.extensionUuid = "burn-my-windows@schneegans.github.com";
meta = with lib; {
description =
"A GNOME shell extension to disintegrate windows in the old-fashioned way";
license = licenses.gpl3Plus;
homepage = "https://github.com/Schneegans/Burn-My-Windows";
platforms = platforms.linux;
};
}