Commit bfa23cd3 authored by tea's avatar tea
Browse files

wayfirePlugins.wwp-switcher: remove

It will also FTBFS with Wayfire 0.10.
parent a6318ced
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14,11 +14,11 @@ lib.makeScope pkgs.newScope (
    wcm = callPackage ./wcm.nix { };
    wf-shell = callPackage ./wf-shell.nix { };
    windecor = callPackage ./windecor.nix { };
    wwp-switcher = callPackage ./wwp-switcher.nix { };
  }
)
// lib.optionalAttrs config.allowAliases {
  firedecor = throw "wayfirePlugins.firedecor has been removed as it is unmaintained and no longer used by mate-wayland-session."; # Added 2025-09-03
  focus-request = throw "wayfirePlugins.focus-request is now included with wayfirePlugins.wayfire-plugins-extra";
  wayfire-shadows = throw "wayfirePlugins.wayfire-shadows is now included with wayfirePlugins.wayfire-plugins-extra";
  wwp-switcher = throw "wayfirePlugins.wwp-switcher has been removed as it is unmaintained";
}
+0 −58
Original line number Diff line number Diff line
{
  stdenv,
  lib,
  fetchFromGitHub,
  unstableGitUpdater,
  meson,
  ninja,
  pkg-config,
  wayfire,
  libxkbcommon,
  libGL,
  libinput,
  gtk3,
  glibmm,
  xcbutilwm,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "wwp-switcher";
  version = "0-unstable-2024-07-23";

  src = fetchFromGitHub {
    owner = "wb9688";
    repo = "wwp-switcher";
    rev = "d0cd97534a2a6355697efecb7bcf8f85f5dc4b5b";
    hash = "sha256-cU8INUb+JXlSCM7cAOUBU7z7W0IM6pAGN0izGdFYntc=";
  };

  nativeBuildInputs = [
    meson
    ninja
    pkg-config
  ];

  buildInputs = [
    wayfire
    libxkbcommon
    libGL
    libinput
    gtk3
    glibmm
    xcbutilwm
  ];

  env = {
    PKG_CONFIG_WAYFIRE_METADATADIR = "${placeholder "out"}/share/wayfire/metadata";
  };

  passthru.updateScript = unstableGitUpdater { };

  meta = {
    homepage = "https://github.com/wb9688/wwp-switcher";
    description = "Plugin to switch active window";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ wineee ];
    inherit (wayfire.meta) platforms;
  };
})