Skip to content

Commit

Permalink
VRCX: init at 2025-01-27T00.10-0ee8137 (#377829)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Feb 2, 2025
2 parents 7a982a6 + b64cdaf commit a56d937
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21279,6 +21279,12 @@
github = "ein-shved";
githubId = 3513222;
};
ShyAssassin = {
name = "[Assassin]";
githubId = 49711232;
github = "ShyAssassin";
email = "[email protected]";
};
shyim = {
email = "[email protected]";
github = "shyim";
Expand Down
45 changes: 45 additions & 0 deletions pkgs/by-name/vr/vrcx/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
lib,
fetchurl,
appimageTools,
dotnet-runtime,
}:
let
pname = "vrcx";
version = "2025-01-27T00.10-0ee8137";
src = fetchurl {
url = "https://github.com/Natsumi-sama/VRCX/releases/download/${version}/VRCX_${version}.AppImage";
hash = "sha256-kaQOME3jBLr7QJjc7rubNqFu3z+LmiP+UHe2EWYC7ek=";
};
appimageContents = appimageTools.extract {
inherit pname src version;
};
in
appimageTools.wrapType2 rec {
inherit pname version src;
extraPkgs = pkgs: [ dotnet-runtime ];
extraInstallCommands = ''
install -m 444 -D ${appimageContents}/vrcx.desktop $out/share/applications/vrcx.desktop
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/256x256/apps/vrcx.png \
$out/share/icons/hicolor/256x256/apps/vrcx.png
substituteInPlace $out/share/applications/vrcx.desktop \
--replace-fail 'Exec=AppRun' 'Exec=${pname}'
# Fix icon path
substituteInPlace $out/share/applications/vrcx.desktop \
--replace-fail 'Icon=VRCX' "Icon=$out/share/icons/hicolor/256x256/apps/vrcx.png"
'';

meta = {
description = "Friendship management tool for VRChat";
longDescription = ''
VRCX is an assistant/companion application for VRChat that provides information about and helps you accomplish various things
related to VRChat in a more convenient fashion than relying on the plain VRChat client (desktop or VR), or website alone.
'';
license = lib.licenses.mit;
homepage = "https://github.com/vrcx-team/VRCX";
downloadPage = "https://github.com/vrcx-team/VRCX/releases";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
maintainers = with lib.maintainers; [ ShyAssassin ];
platforms = [ "x86_64-linux" ];
};
}

0 comments on commit a56d937

Please sign in to comment.