xrsh/nix/xrsh-package.nix
Leon van Kammen 0a85da40ef
All checks were successful
/ mirror_to_github (push) Successful in 1m29s
/ test (push) Successful in 5s
cleanup
2025-01-20 15:32:50 +01:00

29 lines
750 B
Nix

{ 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" ];
};
}