2023-10-11 05:42:38 +00:00
|
|
|
{ lib
|
|
|
|
, appimageTools
|
2024-02-23 13:47:12 +00:00
|
|
|
, callPackage
|
2023-10-11 05:42:38 +00:00
|
|
|
, fetchurl
|
2024-02-23 13:47:12 +00:00
|
|
|
, stdenv
|
2023-10-11 05:42:38 +00:00
|
|
|
}:
|
2024-02-23 13:47:12 +00:00
|
|
|
let
|
2023-10-11 05:42:38 +00:00
|
|
|
pname = "immersed-vr";
|
2024-02-10 08:32:12 +00:00
|
|
|
version = "9.10";
|
2023-10-11 05:42:38 +00:00
|
|
|
|
2024-02-23 13:47:12 +00:00
|
|
|
sources = rec {
|
|
|
|
x86_64-linux = {
|
|
|
|
url = "https://web.archive.org/web/20240210075929/https://static.immersed.com/dl/Immersed-x86_64.AppImage";
|
|
|
|
hash = "sha256-Mx8UnV4fZSebj9ah650ZqsL/EIJpM6jl8tYmXJZiJpA=";
|
|
|
|
};
|
|
|
|
x86_64-darwin = {
|
|
|
|
url = "https://web.archive.org/web/20240210075929/https://static.immersed.com/dl/Immersed.dmg";
|
|
|
|
hash = "sha256-CR2KylovlS7zerZIEScnadm4+ENNhib5QnS6z5Ihv1Y=";
|
|
|
|
};
|
|
|
|
aarch64-darwin = x86_64-darwin;
|
2023-10-11 05:42:38 +00:00
|
|
|
};
|
|
|
|
|
2024-02-23 13:47:12 +00:00
|
|
|
src = fetchurl (sources.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}"));
|
2023-10-11 05:42:38 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A VR coworking platform";
|
|
|
|
homepage = "https://immersed.com";
|
|
|
|
license = licenses.unfree;
|
|
|
|
maintainers = with maintainers; [ haruki7049 ];
|
2024-02-23 13:47:12 +00:00
|
|
|
platforms = builtins.attrNames sources;
|
2023-10-11 05:42:38 +00:00
|
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
|
|
|
};
|
2024-02-23 13:47:12 +00:00
|
|
|
|
|
|
|
in if stdenv.isDarwin
|
|
|
|
then callPackage ./darwin.nix { inherit pname version src meta; }
|
|
|
|
else callPackage ./linux.nix { inherit pname version src meta; }
|