8 rustPlatform.buildRustPackage rec {
9 pname = "stardust-xr-flatland";
10 version = "0-unstable-2024-04-13";
12 src = fetchFromGitHub {
15 rev = "b3b0f29c4ea1b82c96cf9de507837bf15a5e4c0e";
16 hash = "sha256-m7c6XpmpTM1URuqMG2KqtaWbL2Vt8vJFJtmvq123BmY=";
19 env.STARDUST_RES_PREFIXES = "${src}/res";
22 lockFile = ./Cargo.lock;
24 "stardust-xr-0.44.0" = "sha256-Gu/P78nFFVSpgwCcbMwyoqdEZO8zIcvP1ovU7Y0sXqg=";
25 "stardust-xr-molecules-0.44.0" = "sha256-TpgsmQnaAbtcp+veclGaht7f9hwEWEzMOpEIvdICTbc=";
29 passthru.updateScript = nix-update-script {
30 extraArgs = [ "--version=branch" ];
34 description = "A flat window for Stardust XR";
35 homepage = "https://stardustxr.org";
36 license = lib.licenses.mit;
37 mainProgram = "flatland";
38 maintainers = with lib.maintainers; [
42 platforms = lib.platforms.linux;