stardust-xr-flatland: init at 0-unstable-2024-04-13
This commit is contained in:
parent
03987a692c
commit
5a1e1f65a9
1342
pkgs/by-name/st/stardust-xr-flatland/Cargo.lock
generated
Normal file
1342
pkgs/by-name/st/stardust-xr-flatland/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
44
pkgs/by-name/st/stardust-xr-flatland/package.nix
Normal file
44
pkgs/by-name/st/stardust-xr-flatland/package.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "stardust-xr-flatland";
|
||||
version = "0-unstable-2024-04-13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stardustxr";
|
||||
repo = "flatland";
|
||||
rev = "b3b0f29c4ea1b82c96cf9de507837bf15a5e4c0e";
|
||||
hash = "sha256-m7c6XpmpTM1URuqMG2KqtaWbL2Vt8vJFJtmvq123BmY=";
|
||||
};
|
||||
|
||||
env.STARDUST_RES_PREFIXES = "${src}/res";
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"stardust-xr-0.44.0" = "sha256-Gu/P78nFFVSpgwCcbMwyoqdEZO8zIcvP1ovU7Y0sXqg=";
|
||||
"stardust-xr-molecules-0.44.0" = "sha256-TpgsmQnaAbtcp+veclGaht7f9hwEWEzMOpEIvdICTbc=";
|
||||
};
|
||||
};
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [ "--version=branch" ];
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A flat window for Stardust XR";
|
||||
homepage = "https://stardustxr.org";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "flatland";
|
||||
maintainers = with lib.maintainers; [
|
||||
pandapip1
|
||||
technobaboo
|
||||
];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user