cleanup
All checks were successful
/ mirror_to_github (push) Successful in 1m29s
/ test (push) Successful in 5s

This commit is contained in:
Leon van Kammen 2025-01-20 15:32:50 +01:00
parent 12f84e4cf7
commit 0a85da40ef
4 changed files with 29 additions and 110 deletions

29
nix/xrsh-package.nix Normal file
View file

@ -0,0 +1,29 @@
{ stdenv, fetchgit, lib }:
stdenv.mkDerivation rec {
pname = "xrsh";
version = "0.142";
src = fetchgit {
fetchSubmodules = true;
url = "https://codeberg.org/xrsh/xrsh.git";
rev = "12f84e4cf72bf1e1268a6a4120594a825a8f66a7";
sha256 = "sha256-0MBBlqL2TWgN94ErI2Joub0Aub5XBxGWXILPDAfiNpc=";
};
dontBuild = true;
installPhase = ''
mkdir $out
cp -r $src/{index.html,src,xrsh.ico,xrsh.svg} $out/.
'';
meta = with lib; {
description = "XR shell which runs a linux ISO in WebXR";
license = "GPL3";
homepage = "https://xrsh.isvery.ninja";
maintainers = with maintainers; [ coderofsalvation ];
platforms = [ "i686-linux" "x86_64-linux" "x86_64-windows" "i686-windows" "x86_64-darwin" ];
};
}

View file

@ -1,25 +0,0 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "xrsh";
version = "0.1";
src = fetchurl {
url = "https://codeberg.org/xrsh/xrsh/archive/24e117f5125e4b2ecd7432baf6fdd5f60e6b3a70.tar.gz";
sha256 = "11v22pijnjm3mb3n8dki4m95rc73azschfwvh2c1pc3bxrfsk0k8";
};
#cosmopolitan = pkgs.callPackage pkgs.cosmopolitan { };
## Override derivation to modify buildFlags
#redbean = cosmopolitan.overrideDerivation (oldAttrs: {
# buildFlags = oldAttrs.buildFlags ++ ["--enable-feature-x"];
#});
buildInputs = [];
buildFlags = [];
# Define phases if needed, e.g., build, install, etc.
# phases = [ "buildPhase" "installPhase" ];
}

View file

@ -1,28 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="./index.css" rel="stylesheet">
</head>
<body>
<h1>Welcome to XRSHell</h1>
<br>
<img src="https://i.imgur.com/BW22wrb.png"/>
<br><br>
The <b>xrsh</b> (xrshell) brings the <a href="https://en.wikipedia.org/wiki/Free_and_open-source_software" target="_blank">FOSS</a>- and <a href="https://en.wikipedia.org/wiki/Linux" target="_blank">Linux</a>-soul to <a href="https://en.wikipedia.org/wiki/WebXR" target="_blank">WebXR</a>, promoting the use of (interactive text) terminal and user-provided operating systems inside WebXR.
<br><br>Technically, <b>xrsh</b> is a bundle of freshly created re-usable FOSS WebXR components.<br>These provide a common filesystem interface for interacting with WebXR, offering the well-known linux/unix toolchain including a commandline to invoke, store, edit and run WebXR utilities - regardless of their implementation.
<br><br>Think of it as termux for the VR/AR headset browser, which can be used to e.g. livecode (using terminal auto-completion!) for XR component (registries).
<br>
<ul>
<li><a href="https://forgejo.isvery.ninja/xrsh" target="_blank">source xrsh</a></li>
<li><a href="https://forgejo.isvery.ninja/xrsh-apps" target="_blank">source xrsh apps</a></li>
<li><a href="https://forgejo.isvery.ninja/xrsh-media" target="_blank">roadmap meeting recordings</a></li>
</ul>
</body>
</html>

File diff suppressed because one or more lines are too long