Unverified Commit 9b05dcbc authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

uxn11: init at 1.0-unstable-2025-09-27 (#446791)

parents 24e3d4c4 3c2cf5ac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ stdenv.mkDerivation (finalAttrs: {
    homepage = "https://wiki.xxiivv.com/site/uxn.html";
    description = "Assembler and emulator for the Uxn stack machine";
    license = lib.licenses.mit;
    maintainers = [ ];
    maintainers = with lib.maintainers; [ jleightcap ];
    mainProgram = "uxnemu";
    inherit (SDL2.meta) platforms;
  };
+37 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromSourcehut,
  xorg,
}:

stdenv.mkDerivation {
  pname = "uxn11";
  version = "1.0-unstable-2025-09-27";

  src = fetchFromSourcehut {
    owner = "~rabbits";
    repo = "uxn11";
    rev = "3c16d2acecfe4784dfe75de520e6229fa809b634";
    hash = "sha256-NKFaj/7V8S+W7c5v4uzPT9hpNHAmP/J7LGR6/0lQ3ds=";
  };

  buildInputs = [
    xorg.libX11
  ];

  makeFlags = [ "PREFIX=$(out)" ];

  strictDeps = true;

  doCheck = true;

  meta = {
    homepage = "https://git.sr.ht/~rabbits/uxn11";
    description = "X11 and standalone text-mode emulators for the Uxn virtual machine";
    license = lib.licenses.mit;
    mainProgram = "uxn11";
    maintainers = with lib.maintainers; [ jleightcap ];
    inherit (xorg.libX11.meta) platforms;
  };
}