2024-04-21 15:54:59 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, unstableGitUpdater
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, wayfire
|
|
|
|
, libxkbcommon
|
|
|
|
, libGL
|
|
|
|
, libinput
|
|
|
|
, gtk3
|
|
|
|
, glibmm
|
|
|
|
, xcbutilwm
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "wwp-switcher";
|
|
|
|
version = "unstable-2023-09-09";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wb9688";
|
|
|
|
repo = "wwp-switcher";
|
|
|
|
rev = "04711a0db133a899f507a86e81897296b793b4f3";
|
|
|
|
hash = "sha256-qMyEhSZJNxAoaELKI2h1v59QJnKJzFa76Q4/WtZqpIU";
|
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Plugin to switch active window";
|
2024-04-21 15:54:59 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ rewine ];
|
|
|
|
inherit (wayfire.meta) platforms;
|
|
|
|
};
|
|
|
|
})
|