xrgears: add update script

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2024-06-18 02:42:47 +02:00
parent bae4966c75
commit eb06dadfa0
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951

View File

@ -13,6 +13,7 @@
, makeWrapper
, libGL
, glib
, unstableGitUpdater
}:
stdenv.mkDerivation rec {
@ -49,12 +50,14 @@ stdenv.mkDerivation rec {
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ SDL2 libGL ]}
'';
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
homepage = "https://gitlab.freedesktop.org/monado/demos/xrgears";
description = "OpenXR example using Vulkan for rendering";
mainProgram = "xrgears";
platforms = platforms.linux;
license = licenses.mit;
maintainers = with maintainers; [ expipiplus1 ];
maintainers = with maintainers; [ expipiplus1 Scrumplex ];
};
}