-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
waywall: init at 0-unstable-2025-02-07
- Loading branch information
1 parent
c71535b
commit 589954b
Showing
1 changed file
with
82 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{ | ||
lib, | ||
stdenv, | ||
fetchFromGitHub, | ||
cmake, | ||
egl-wayland, | ||
libglvnd, | ||
libspng, | ||
libxkbcommon, | ||
luajit, | ||
mesa_glu, | ||
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 = [ | ||
cmake | ||
meson | ||
ninja | ||
pkg-config | ||
wayland-scanner | ||
]; | ||
|
||
buildInputs = [ | ||
egl-wayland | ||
libglvnd | ||
libspng | ||
libxkbcommon | ||
luajit | ||
mesa_glu | ||
meson | ||
ninja | ||
pkg-config | ||
wayland | ||
wayland-protocols | ||
xorg.libxcb | ||
xwayland | ||
]; | ||
|
||
dontUseCmakeConfigure = true; | ||
|
||
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"; | ||
}; | ||
} |