diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 246df1773ba8b..8fcbf3c791fa0 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -15536,6 +15536,11 @@ githubId = 20619776; name = "moni"; }; + monkieeboi = { + name = "MonkieeBoi"; + github = "MonkieeBoi"; + githubId = 53400613; + }; monsieurp = { email = "monsieurp@gentoo.org"; github = "monsieurp"; diff --git a/pkgs/by-name/wa/waywall/package.nix b/pkgs/by-name/wa/waywall/package.nix new file mode 100644 index 0000000000000..35be45e147473 --- /dev/null +++ b/pkgs/by-name/wa/waywall/package.nix @@ -0,0 +1,71 @@ +{ + lib, + stdenv, + fetchFromGitHub, + libGL, + libspng, + libxkbcommon, + luajit, + meson, + ninja, + pkg-config, + wayland, + wayland-protocols, + wayland-scanner, + xorg, + xwayland, +}: +stdenv.mkDerivation { + pname = "waywall"; + version = "0-unstable-2025-02-07"; + + src = fetchFromGitHub { + owner = "tesselslate"; + repo = "waywall"; + rev = "be96e20997c5886af9661d9832b7902aba1e5311"; + hash = "sha256-77GbBzHjyZuauhl0vlguUS/7jBT4qNjOLYGWBVTPjEY="; + }; + + nativeBuildInputs = [ + meson + ninja + pkg-config + wayland-scanner + ]; + + buildInputs = [ + libGL + libspng + libxkbcommon + luajit + wayland + wayland-protocols + xorg.libxcb + xwayland + ]; + + installPhase = '' + runHook preInstall + + install -Dm755 waywall/waywall -t $out/bin + + runHook postInstall + ''; + + meta = { + description = "Wayland compositor for Minecraft speedrunning"; + longDescription = '' + Waywall is a Wayland compositor that provides various convenient + features (key rebinding, Ninjabrain Bot support, etc) for Minecraft + speedrunning. It is designed to be nested within an existing Wayland + session and is intended as a successor to resetti. + ''; + homepage = "https://tesselslate.github.io/waywall/"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ + monkieeboi + ]; + platforms = lib.platforms.linux; + mainProgram = "waywall"; + }; +}