1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 18:21:07 +01:00
This commit is contained in:
2026-01-20 18:02:36 +01:00
parent 25f1a2ac1e
commit 09b28ce523
2 changed files with 43 additions and 0 deletions

View File

@@ -241,6 +241,7 @@
};
morris = prev.callPackage packages/morris.nix { };
cro = prev.callPackage packages/cro.nix { };
exodus = prev.callPackage packages/exodus.nix { };
dmenu = prev.writers.writeDashBin "dmenu" ''exec ${final.rofi}/bin/rofi -dmenu "$@"'';
weechatScripts = prev.weechatScripts // {
hotlist2extern = prev.callPackage packages/weechatScripts/hotlist2extern.nix { }; # TODO upstream
@@ -518,6 +519,7 @@
devour
dmenu-randr
emailmenu
exodus
fkill
fzfmenu
gfs-fonts

41
packages/exodus.nix Normal file
View File

@@ -0,0 +1,41 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
SDL2,
makeWrapper,
}:
stdenv.mkDerivation {
pname = "exodus";
version = "unstable-2025-03-31";
src = fetchFromGitHub {
owner = "nrootconauto";
repo = "EXODUS";
rev = "6d806dd5ae5507858c03c4d13be1f3d37a06fa4b";
hash = "sha256-EmIoJj5IjLy0dvuBQR46Oi/xgkbqv/IT+cJa59/aaWI=";
};
nativeBuildInputs = [
cmake
makeWrapper
];
buildInputs = [ SDL2 ];
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp -a ../exodus $out/bin
runHook postInstall
'';
# tell the EXODUS program where the TempleOS root and bootstrap is
postFixup = ''
wrapProgram $out/bin/exodus \
--add-flags "--root=$src/T --hcrtfile=$src/HCRT_BOOTSTRAP.BIN"
'';
meta = {
description = "Run templeOS emulator in userspace";
homepage = "https://github.com/nrootconauto/EXODUS";
license = lib.licenses.zlib;
maintainers = with lib.maintainers; [ matthewcroughan ];
platforms = lib.platforms.unix;
};
}