summary refs log tree commit diff
path: root/pkgs/by-name/im/immersed-vr/package.nix
blob: 0cf8ef3e17abf5eb5595ae30d1553bb346d7548b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib
, appimageTools
, fetchurl
}:
appimageTools.wrapType2 rec {
  pname = "immersed-vr";
  version = "9.6";
  name = "${pname}-${version}";

  src = fetchurl {
    url = "http://web.archive.org/web/20231011083250/https://static.immersed.com/dl/Immersed-x86_64.AppImage";
    hash = "sha256-iA0SQlPktETFXEqCbSoWV9NaWVahkPa6qO4Cfju0aBQ=";
  };

  extraInstallCommands = ''
    mv $out/bin/{${name},${pname}}
  '';

  extraPkgs = pkgs: with pkgs; [
    libthai
  ];

  meta = with lib; {
    description = "A VR coworking platform";
    homepage = "https://immersed.com";
    license = licenses.unfree;
    maintainers = with maintainers; [ haruki7049 ];
    platforms = [ "x86_64-linux" ];
    sourceProvenance = with sourceTypes; [ binaryNativeCode ];
  };
}