2023-08-04 22:07:22 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, wayfire
|
2024-09-19 14:19:46 +00:00
|
|
|
, wayland-scanner
|
2023-08-04 22:07:22 +00:00
|
|
|
, wf-config
|
2023-10-19 13:55:26 +00:00
|
|
|
, libevdev
|
|
|
|
, libinput
|
2023-08-04 22:07:22 +00:00
|
|
|
, libxkbcommon
|
2024-04-21 15:54:59 +00:00
|
|
|
, nlohmann_json
|
2023-08-04 22:07:22 +00:00
|
|
|
, xcbutilwm
|
2024-04-21 15:54:59 +00:00
|
|
|
, gtkmm3
|
2023-08-04 22:07:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "wayfire-plugins-extra";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.9.0";
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "WayfireWM";
|
|
|
|
repo = "wayfire-plugins-extra";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-TukDomxqfrM45+C7azfO8jVaqk3E5irdphH8U5IYItg=";
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
2024-09-19 14:19:46 +00:00
|
|
|
wayland-scanner
|
2023-08-04 22:07:22 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
wayfire
|
|
|
|
wf-config
|
2023-10-19 13:55:26 +00:00
|
|
|
libevdev
|
|
|
|
libinput
|
2023-08-04 22:07:22 +00:00
|
|
|
libxkbcommon
|
2024-04-21 15:54:59 +00:00
|
|
|
nlohmann_json
|
2023-08-04 22:07:22 +00:00
|
|
|
xcbutilwm
|
|
|
|
gtkmm3
|
|
|
|
];
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
mesonFlags = [
|
|
|
|
# plugins in submodule, packaged individually
|
|
|
|
(lib.mesonBool "enable_windecor" false)
|
|
|
|
(lib.mesonBool "enable_wayfire_shadows" false)
|
|
|
|
(lib.mesonBool "enable_focus_request" false)
|
|
|
|
];
|
|
|
|
|
|
|
|
env = {
|
|
|
|
PKG_CONFIG_WAYFIRE_METADATADIR = "${placeholder "out"}/share/wayfire/metadata";
|
|
|
|
};
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/WayfireWM/wayfire-plugins-extra";
|
|
|
|
description = "Additional plugins for Wayfire";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ rewine ];
|
|
|
|
inherit (wayfire.meta) platforms;
|
|
|
|
};
|
|
|
|
})
|