gnome-shell-extension-fly-pie: remove package

Also available on nixpkgs.
This commit is contained in:
Gabriel Arazas 2023-07-14 22:26:32 +08:00
parent c6fe84155b
commit 4ce1e90be4
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 0 additions and 56 deletions

View File

@ -17,8 +17,6 @@ let
gol-c = callPackage ./gol-c.nix { }; gol-c = callPackage ./gol-c.nix { };
gnome-search-provider-recoll = gnome-search-provider-recoll =
callPackage ./gnome-search-provider-recoll.nix { }; callPackage ./gnome-search-provider-recoll.nix { };
gnome-shell-extension-fly-pie =
callPackage ./gnome-shell-extension-fly-pie.nix { };
guile-config = callPackage ./guile-config.nix { }; guile-config = callPackage ./guile-config.nix { };
hush-shell = callPackage ./hush-shell.nix { }; hush-shell = callPackage ./hush-shell.nix { };
ictree = callPackage ./ictree.nix { }; ictree = callPackage ./ictree.nix { };

View File

@ -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-fly-pie";
version = "21";
src = fetchFromGitHub {
owner = "Schneegans";
repo = "Fly-Pie";
rev = "v${version}";
sha256 = "sha256-XPN86J3aqsMwSeFlFItM3azmCNRq9I4CnZbtJMEi0TQ=";
};
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 = "flypie@schneegans.github.com";
meta = with lib; {
description = "A marking menu for GNOME shell";
license = licenses.mit;
homepage = "https://github.com/Schneegans/Fly-Pie";
platforms = platforms.linux;
};
}