From a58ad07195ffac08ba10a50a5bdd9aefbc08ca66 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 23 Sep 2023 16:39:14 -0300 Subject: [PATCH] labwc: 0.6.4 -> 0.6.5 - split output - strictDeps - no nested with - keep an entry in all-packages.nix (because wlroots is too unstable) --- pkgs/by-name/la/labwc/package.nix | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/la/labwc/package.nix b/pkgs/by-name/la/labwc/package.nix index 07a1e1d54c35..3aca61e97da3 100644 --- a/pkgs/by-name/la/labwc/package.nix +++ b/pkgs/by-name/la/labwc/package.nix @@ -2,21 +2,23 @@ , stdenv , fetchFromGitHub , cairo +, gettext , glib , libdrm , libinput +, libpng +, librsvg , libxcb , libxkbcommon , libxml2 -, gettext , meson , ninja , pango , pkg-config , scdoc -, wayland-scanner , wayland , wayland-protocols +, wayland-scanner , wlroots , xcbutilwm , xwayland @@ -24,13 +26,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "labwc"; - version = "0.6.4"; + version = "0.6.5"; src = fetchFromGitHub { owner = "labwc"; repo = "labwc"; rev = finalAttrs.version; - hash = "sha256-8FMC0tq5Gp5qDPUmoJTCrHEergDMUbiTco17jPTJUgE="; + hash = "sha256-nQLxE2Q4GiLUjkag/yqctzmkKKWFw1XNFjotE8MMgBA="; }; nativeBuildInputs = [ @@ -47,6 +49,8 @@ stdenv.mkDerivation (finalAttrs: { glib libdrm libinput + libpng + librsvg libxcb libxkbcommon libxml2 @@ -58,16 +62,20 @@ stdenv.mkDerivation (finalAttrs: { xwayland ]; + outputs = [ "out" "man" ]; + + strictDeps = true; + mesonFlags = [ (lib.mesonEnable "xwayland" true) ]; - meta = with lib; { + meta = { homepage = "https://github.com/labwc/labwc"; - description = "A Wayland stacking compositor, similar to Openbox"; + description = "A Wayland stacking compositor, inspired by Openbox"; changelog = "https://raw.githubusercontent.com/labwc/labwc/${finalAttrs.version}/NEWS.md"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ AndersonTorres ]; + license = lib.licenses.gpl2Plus; + maintainers = with lib.maintainers; [ AndersonTorres ]; inherit (wayland.meta) platforms; }; })