File tree Expand file tree Collapse file tree
pkgs/by-name/st/stardust-xr-server Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 lib ,
33 fetchFromGitHub ,
4+ stardust-xr-server ,
45 nix-update-script ,
56 rustPlatform ,
67 cmake ,
1213 openxr-loader ,
1314 pkg-config ,
1415 xorg ,
16+ testers ,
17+ nixosTests ,
1518} :
1619
1720rustPlatform . buildRustPackage rec {
@@ -55,7 +58,16 @@ rustPlatform.buildRustPackage rec {
5558 install -D ${ cpm-cmake } /share/cpm/CPM.cmake $(echo $cargoDepsCopy/stereokit-sys-*/StereoKit)/build/cpm/CPM_0.32.2.cmake
5659 '' ;
5760
58- passthru . updateScript = nix-update-script { } ;
61+ passthru = {
62+ updateScript = nix-update-script { } ;
63+ tests = {
64+ inherit ( nixosTests ) stardust-xr-server ;
65+ versionTest = testers . testVersion {
66+ inherit version ;
67+ package = stardust-xr-server ;
68+ } ;
69+ } ;
70+ } ;
5971
6072 meta = {
6173 description = "Wayland compositor and display server for 3D applications" ;
You can’t perform that action at this time.
0 commit comments