acr-cli: init at 0.14 (#359508)
[NixPkgs.git] / pkgs / by-name / st / stardust-xr-phobetor / package.nix
blob819ddcfce37a39ca99422455cc410cc3f56eeafe
2   lib,
3   fetchFromGitHub,
4   rustPlatform,
5   nix-update-script,
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "stardust-xr-phobetor";
10   version = "0-unstable-2024-02-10";
12   src = fetchFromGitHub {
13     owner = "stardustxr";
14     repo = "phobetor";
15     rev = "f47d10c9ab8b37941bc9ca94677d6c80332376f3";
16     hash = "sha256-7CWOoirQ/8zKCO7lBA9snyShlwsKYONiYkl39lQrpTY=";
17   };
19   env.STARDUST_RES_PREFIXES = "${src}/res";
21   cargoLock = {
22     lockFile = ./Cargo.lock;
23     outputHashes = {
24       "stardust-xr-0.14.1" = "sha256-HEv1KzemGHEEcfFrzgKJmHUhGsW95J+6bcK7Bb8T9KE=";
25       "stardust-xr-molecules-0.29.0" = "sha256-yAdoJiTEulZiwRzhgoQ2cDUBxCe6NcTm88TfvDJ9Co4=";
26     };
27   };
29   passthru.updateScript = nix-update-script {
30     extraArgs = [ "--version=branch" ];
31   };
33   meta = {
34     description = "Handheld panel shell for Stardust XR";
35     homepage = "https://stardustxr.org";
36     license = lib.licenses.mit;
37     mainProgram = "phobetor";
38     maintainers = with lib.maintainers; [
39       pandapip1
40       technobaboo
41     ];
42     platforms = lib.platforms.linux;
43   };