8 stdenv.mkDerivation (finalAttrs: {
10 version = "1.0-unstable-2024-09-20";
12 src = fetchFromSourcehut {
15 rev = "f8c53f59b012dd56d44ae50cdf90dd1dad6cce23";
16 hash = "sha256-Ee4hN3OnqF/OhKieGtzT4XOhNJIhywCgP6Us0DZTVBI=";
19 outputs = [ "out" "projects" ];
32 patchShebangs build.sh
33 substituteInPlace build.sh \
34 --replace "-L/usr/local/lib " ""
45 # ./build.sh --install is meant to install in $HOME, therefore not useful for
51 cp bin/uxnasm bin/uxncli bin/uxnemu $out/bin/
52 install -d $projects/share/uxn/
53 cp -r projects $projects/share/uxn/
58 passthru.updateScript = unstableGitUpdater { };
61 homepage = "https://wiki.xxiivv.com/site/uxn.html";
62 description = "Assembler and emulator for the Uxn stack machine";
63 license = lib.licenses.mit;
64 maintainers = with lib.maintainers; [ AndersonTorres ];
65 mainProgram = "uxnemu";
66 inherit (SDL2.meta) platforms;
67 broken = stdenv.hostPlatform.isDarwin;