sunshine: add NixOS test

This commit is contained in:
Morgan Helton 2024-03-30 20:07:48 -05:00
parent dd2c6f1840
commit c44ca35286
1 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,7 @@
, autoPatchelfHook
, makeWrapper
, buildNpmPackage
, nixosTests
, cmake
, avahi
, libevdev
@ -181,7 +182,10 @@ stdenv'.mkDerivation rec {
install -Dm644 ../packaging/linux/${pname}.desktop $out/share/applications/${pname}.desktop
'';
passthru.updateScript = ./updater.sh;
passthru = {
tests.sunshine = nixosTests.sunshine;
updateScript = ./updater.sh;
};
meta = with lib; {
description = "Sunshine is a Game stream host for Moonlight";