mangowc: init at 0.10.5

Co-Authored-By: Tom van Dijk <18gatenmaker6@gmail.com>
This commit is contained in:
hustlerone
2025-11-14 10:15:01 +01:00
co-authored by Tom van Dijk
parent bcd08f052a
commit 5fc0dd04b6
+75
View File
@@ -0,0 +1,75 @@
{
lib,
libX11,
libinput,
libxcb,
libxkbcommon,
pcre2,
pixman,
pkg-config,
stdenv,
fetchFromGitHub,
wayland,
wayland-protocols,
wayland-scanner,
xcbutilwm,
xwayland,
enableXWayland ? true,
meson,
ninja,
scenefx,
wlroots_0_19,
libGL,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "mangowc";
version = "0.10.5";
src = fetchFromGitHub {
owner = "DreamMaoMao";
repo = "mangowc";
tag = finalAttrs.version;
hash = "sha256-ZESyUtCiIQh6R0VYAo8YaP95Damw3MJVvKy5qU3pgTA=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
wayland-scanner
];
buildInputs = [
libinput
libxcb
libxkbcommon
pcre2
pixman
wayland
wayland-protocols
wlroots_0_19
scenefx
libGL
]
++ lib.optionals enableXWayland [
libX11
xcbutilwm
xwayland
];
passthru = {
providedSessions = [
"dwl"
"mangowc"
];
};
meta = {
mainProgram = "mango";
description = "Lightweight and feature-rich Wayland compositor based on dwl";
homepage = "https://github.com/DreamMaoMao/mangowc";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ hustlerone ];
platforms = lib.platforms.linux;
};
})