43 lines
1.0 KiB
Nix
43 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
testers,
|
|
stardust-xr-atmosphere,
|
|
nix-update-script,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "stardust-xr-atmosphere";
|
|
version = "0-unstable-2024-08-22";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "stardustxr";
|
|
repo = "atmosphere";
|
|
rev = "0c8bfb91e8ca32a4895f858067334ed265517309";
|
|
hash = "sha256-pk1+kkPV6fx+7Xz9hKFFVw402iztcvNC31zVCc3hfTY=";
|
|
};
|
|
|
|
cargoHash = "sha256-eQjRbavmUW2iw0OEC/DPk2FflTc4QCn0K/c4Og+sGW4=";
|
|
|
|
passthru = {
|
|
tests.versionTest = testers.testVersion {
|
|
package = stardust-xr-atmosphere;
|
|
command = "atmosphere --version";
|
|
version = "stardust-xr-atmosphere 0.4.0";
|
|
};
|
|
updateScript = nix-update-script {
|
|
extraArgs = [ "--version=branch" ];
|
|
};
|
|
};
|
|
|
|
meta = {
|
|
description = "Environment, homespace, and setup client for Stardust XR";
|
|
homepage = "https://stardustxr.org";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "atmosphere";
|
|
teams = with lib.teams; [ stardust-xr ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|