From c6fe84155bc8d8df47804030cbcd716fd00ea6a9 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Fri, 14 Jul 2023 22:25:58 +0800 Subject: [PATCH] gnome-shell-extension-burn-my-windows: remove package It is available on nixpkgs. --- pkgs/default.nix | 1 - .../default.nix | 54 ------------------- 2 files changed, 55 deletions(-) delete mode 100644 pkgs/gnome-shell-extension-burn-my-windows/default.nix diff --git a/pkgs/default.nix b/pkgs/default.nix index ae944ff4..cfe5f897 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -17,7 +17,6 @@ let gol-c = callPackage ./gol-c.nix { }; gnome-search-provider-recoll = callPackage ./gnome-search-provider-recoll.nix { }; - gnome-shell-extension-burn-my-windows = callPackage ./gnome-shell-extension-burn-my-windows { }; gnome-shell-extension-fly-pie = callPackage ./gnome-shell-extension-fly-pie.nix { }; guile-config = callPackage ./guile-config.nix { }; diff --git a/pkgs/gnome-shell-extension-burn-my-windows/default.nix b/pkgs/gnome-shell-extension-burn-my-windows/default.nix deleted file mode 100644 index 55935574..00000000 --- a/pkgs/gnome-shell-extension-burn-my-windows/default.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ lib, stdenv, bash, fetchFromGitHub, glib, gettext, zip, unzip }: - -# TODO: Deprecate this package once it is successfully packaged in nixpkgs. -# This is done automatically from the following PR: -# https://github.com/NixOS/nixpkgs/pull/118232 -# -# It is yet to be fixed as of the latest commit at the time of this writing (i.e., e09a539ccbb). -# Please refer to the `pkgs/desktops/gnome/extensions/{extensions.json,extensionRenames.nix}` in the future to check. -stdenv.mkDerivation rec { - pname = "gnome-shell-extension-burn-my-windows"; - version = "34"; - - src = fetchFromGitHub { - owner = "Schneegans"; - repo = "Burn-My-Windows"; - rev = "v${version}"; - sha256 = "sha256-CseLQpxTK6kzc4aSm3U17AyJ05mv5RmocCxIMngMhO8="; - }; - - 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 = "Disintegrate your windows in style"; - license = licenses.gpl3Only; - homepage = "https://github.com/Schneegans/Burn-My-Windows"; - platforms = platforms.linux; - }; -}