42 lines
1 KiB
Nix
42 lines
1 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
nix-update-script,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "stardust-xr-gravity";
|
|
version = "0-unstable-2024-08-21";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "stardustxr";
|
|
repo = "gravity";
|
|
rev = "96787ed3139717ea6061f6e259e9fed3e483274a";
|
|
hash = "sha256-R87u7CX2n7iOOEEB3cHae2doqCn/skChHgeU+RNsHVk=";
|
|
};
|
|
|
|
cargoLock = {
|
|
lockFile = ./Cargo.lock;
|
|
outputHashes = {
|
|
"color-rs-0.8.0" = "sha256-/p4wYiLryY0+h0HBJUo4OV2jdZpcVn2kqv+8XewM4gM=";
|
|
"stardust-xr-0.45.0" = "sha256-1Bor53L+Fe18SU6MKwPLQXDGZq6E9++gtwDy4zkzZXw=";
|
|
};
|
|
};
|
|
|
|
passthru.updateScript = nix-update-script {
|
|
extraArgs = [ "--version=branch" ];
|
|
};
|
|
|
|
meta = {
|
|
description = "Utility to launch apps and stardust clients at an offet";
|
|
homepage = "https://stardustxr.org";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "gravity";
|
|
maintainers = with lib.maintainers; [
|
|
pandapip1
|
|
technobaboo
|
|
];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|