biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / window-managers / wayfire / wayfire-plugins-extra.nix
blob5b4161cc45438dad0a72d8c5ff532d0aef377082
1 { stdenv
2 , lib
3 , fetchFromGitHub
4 , meson
5 , ninja
6 , pkg-config
7 , wayfire
8 , wayland-scanner
9 , wf-config
10 , libevdev
11 , libinput
12 , libxkbcommon
13 , nlohmann_json
14 , xcbutilwm
15 , gtkmm3
18 stdenv.mkDerivation (finalAttrs: {
19   pname = "wayfire-plugins-extra";
20   version = "0.9.0";
22   src = fetchFromGitHub {
23     owner = "WayfireWM";
24     repo = "wayfire-plugins-extra";
25     rev = "v${finalAttrs.version}";
26     hash = "sha256-TukDomxqfrM45+C7azfO8jVaqk3E5irdphH8U5IYItg=";
27   };
29   nativeBuildInputs = [
30     meson
31     ninja
32     pkg-config
33     wayland-scanner
34   ];
36   buildInputs = [
37     wayfire
38     wf-config
39     libevdev
40     libinput
41     libxkbcommon
42     nlohmann_json
43     xcbutilwm
44     gtkmm3
45   ];
47   mesonFlags = [
48     # plugins in submodule, packaged individually
49     (lib.mesonBool "enable_windecor" false)
50     (lib.mesonBool "enable_wayfire_shadows" false)
51     (lib.mesonBool "enable_focus_request" false)
52   ];
54   env = {
55     PKG_CONFIG_WAYFIRE_METADATADIR = "${placeholder "out"}/share/wayfire/metadata";
56   };
58   meta = {
59     homepage = "https://github.com/WayfireWM/wayfire-plugins-extra";
60     description = "Additional plugins for Wayfire";
61     license = lib.licenses.mit;
62     maintainers = with lib.maintainers; [ rewine ];
63     inherit (wayfire.meta) platforms;
64   };