about summary refs log tree commit diff
path: root/pkgs/by-name/wl
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2024-06-08 09:23:38 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2024-06-09 10:40:56 +0200
commite44476e542eef11c46f5c6fff5de72b69518aaad (patch)
treec727518047a0ee7f2e27ce82de93761efc242e4a /pkgs/by-name/wl
parentd126ed4683232157abf7498e0ab76b35525d2761 (diff)
wlx-overlay-s: add version test and update script
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'pkgs/by-name/wl')
-rw-r--r--pkgs/by-name/wl/wlx-overlay-s/package.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/by-name/wl/wlx-overlay-s/package.nix b/pkgs/by-name/wl/wlx-overlay-s/package.nix
index c29cb85765382..6f614edc6c613 100644
--- a/pkgs/by-name/wl/wlx-overlay-s/package.nix
+++ b/pkgs/by-name/wl/wlx-overlay-s/package.nix
@@ -7,13 +7,16 @@
 , fontconfig
 , libxkbcommon
 , makeWrapper
+, nix-update-script
 , openvr
 , openxr-loader
 , pipewire
 , pkg-config
 , pulseaudio
 , shaderc
+, testers
 , wayland
+, wlx-overlay-s
 , xorg
 }:
 
@@ -71,6 +74,12 @@ rustPlatform.buildRustPackage rec {
       --add-needed ${lib.getLib libxkbcommon}/lib/libxkbcommon.so.0
   '';
 
+  passthru = {
+    tests.testVersion = testers.testVersion { package = wlx-overlay-s; };
+
+    updateScript = nix-update-script { };
+  };
+
   meta = {
     description = "Wayland/X11 desktop overlay for SteamVR and OpenXR, Vulkan edition";
     homepage = "https://github.com/galister/wlx-overlay-s";