labwc: 0.8.0 -> 0.8.1

add libsfdo (https://github.com/labwc/labwc/blob/master/NEWS.md#081)
and versionCheckHook
This commit is contained in:
zi3m5f 2024-10-28 23:23:38 +01:00
parent a4da81bfac
commit 96d23f8b56
No known key found for this signature in database

View File

@ -8,6 +8,7 @@
libinput,
libpng,
librsvg,
libsfdo,
libxcb,
libxkbcommon,
libxml2,
@ -17,6 +18,7 @@
pkg-config,
scdoc,
stdenv,
versionCheckHook,
wayland,
wayland-protocols,
wayland-scanner,
@ -27,13 +29,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "labwc";
version = "0.8.0";
version = "0.8.1";
src = fetchFromGitHub {
owner = "labwc";
repo = "labwc";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-1PyPk6r/hXkC0EfOIeDqNGrrpvo616derD9u7i3XjkA=";
hash = "sha256-TXxdjMkzZQoCqkZBqus5eCBEhA/nvxNNXaNHUTGFQDQ=";
};
outputs = [
@ -58,6 +60,7 @@ stdenv.mkDerivation (finalAttrs: {
libinput
libpng
librsvg
libsfdo
libxcb
libxkbcommon
libxml2
@ -69,10 +72,15 @@ stdenv.mkDerivation (finalAttrs: {
xwayland
];
nativeInstallCheckInputs = [ versionCheckHook ];
mesonFlags = [ (lib.mesonEnable "xwayland" true) ];
strictDeps = true;
doInstallCheck = true;
versionCheckProgramArg = "--version";
passthru = {
providedSessions = [ "labwc" ];
};
@ -80,6 +88,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = {
homepage = "https://github.com/labwc/labwc";
description = "Wayland stacking compositor, inspired by Openbox";
changelog = "https://github.com/labwc/labwc/blob/master/NEWS.md";
license = with lib.licenses; [ gpl2Plus ];
mainProgram = "labwc";
maintainers = with lib.maintainers; [ AndersonTorres ];