wayfirePlugins.firedecor: init at 2023-10-23

mntmn/Firedecor is the fork used for Debian packaging.

+74
+73
pkgs/applications/window-managers/wayfire/firedecor.nix
···
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , meson 5 + , ninja 6 + , pkg-config 7 + , boost 8 + , cairo 9 + , glib 10 + , libGL 11 + , libinput 12 + , librsvg 13 + , libxkbcommon 14 + , pango 15 + , udev 16 + , wayfire 17 + , wayland 18 + , wf-config 19 + , xcbutilwm 20 + , mate 21 + }: 22 + 23 + stdenv.mkDerivation (finalAttrs: { 24 + pname = "firedecor"; 25 + version = "2023-10-23"; 26 + 27 + src = fetchFromGitHub { 28 + owner = "mntmn"; 29 + repo = "Firedecor"; 30 + rev = finalAttrs.version; 31 + hash = "sha256-7or8HkmIZnLpXEZzUhJ3u8SIPfIQFgn32Ju/5OzK06Y="; 32 + }; 33 + 34 + nativeBuildInputs = [ 35 + meson 36 + ninja 37 + pkg-config 38 + ]; 39 + 40 + buildInputs = [ 41 + boost 42 + cairo 43 + glib 44 + libGL 45 + libinput 46 + librsvg 47 + libxkbcommon 48 + pango 49 + udev 50 + wayfire 51 + wayland 52 + wf-config 53 + xcbutilwm 54 + ]; 55 + 56 + postPatch = '' 57 + substituteInPlace src/firedecor-theme.cpp \ 58 + --replace-fail "/usr/share" "/run/current-system/sw/share" 59 + ''; 60 + 61 + env = { 62 + PKG_CONFIG_WAYFIRE_PLUGINDIR = "${placeholder "out"}/lib/wayfire"; 63 + PKG_CONFIG_WAYFIRE_METADATADIR = "${placeholder "out"}/share/wayfire/metadata"; 64 + }; 65 + 66 + meta = with lib; { 67 + homepage = "https://github.com/mntmn/Firedecor"; 68 + description = "Advanced window decoration plugin for the Wayfire window manager"; 69 + license = licenses.mit; 70 + inherit (mate.mate-wayland-session.meta) maintainers; 71 + inherit (wayfire.meta) platforms; 72 + }; 73 + })
+1
pkgs/applications/window-managers/wayfire/plugins.nix
··· 4 let 5 inherit (self) callPackage; 6 in { 7 wayfire-plugins-extra = callPackage ./wayfire-plugins-extra.nix { }; 8 wcm = callPackage ./wcm.nix { }; 9 wf-shell = callPackage ./wf-shell.nix { };
··· 4 let 5 inherit (self) callPackage; 6 in { 7 + firedecor = callPackage ./firedecor.nix { }; 8 wayfire-plugins-extra = callPackage ./wayfire-plugins-extra.nix { }; 9 wcm = callPackage ./wcm.nix { }; 10 wf-shell = callPackage ./wf-shell.nix { };