From 6d3b92dbaca2ee458680cc493b0a41858b6d39a7 Mon Sep 17 00:00:00 2001 From: MonkieeBoi Date: Sat, 8 Feb 2025 00:05:50 +1100 Subject: [PATCH] waywall: init at 0-unstable-2025-02-07 --- pkgs/by-name/wa/waywall/package.nix | 71 +++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 pkgs/by-name/wa/waywall/package.nix diff --git a/pkgs/by-name/wa/waywall/package.nix b/pkgs/by-name/wa/waywall/package.nix new file mode 100644 index 000000000000..35be45e14747 --- /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"; + }; +}