bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
58 lines
1 KiB
Nix
58 lines
1 KiB
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitLab
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, wayfire
|
|
, wf-config
|
|
, wayland
|
|
, pango
|
|
, libinput
|
|
, libxkbcommon
|
|
, librsvg
|
|
, libGL
|
|
, xcbutilwm
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "focus-request";
|
|
version = "0.8.0.2";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "wayfireplugins";
|
|
repo = "focus-request";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-kUYvLC28IPrvnMT/wKFRlOVkc2ohF3k0T/Qrm/zVkpE=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
wayfire
|
|
wf-config
|
|
wayland
|
|
pango
|
|
libinput
|
|
libxkbcommon
|
|
librsvg
|
|
libGL
|
|
xcbutilwm
|
|
];
|
|
|
|
env = {
|
|
PKG_CONFIG_WAYFIRE_METADATADIR = "${placeholder "out"}/share/wayfire/metadata";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://gitlab.com/wayfireplugins/focus-request";
|
|
description = "Wayfire plugin provides a mechanism to grant focus to views that make a focus self-request";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ rewine ];
|
|
inherit (wayfire.meta) platforms;
|
|
};
|
|
})
|