From 0a4740705090acc4c8a10d4f53afc58c9f62e980 Mon Sep 17 00:00:00 2001 From: moksh Date: Thu, 2 Oct 2025 17:32:42 +0530 Subject: [PATCH] gnu: Add uxn11. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/emulators.scm (uxn11): New variable. Closes: guix/guix#3217 Change-Id: I40d0bbcbee439445c60fe6a5653c937db58b0529 Signed-off-by: 宋文武 --- gnu/packages/emulators.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 6d887956d2821e5234db2a5711b37a5e0f15929e..4da1a4fb5ae1f6205fa6ea6bf42923b1e2d19638 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -4595,6 +4595,44 @@ cache visualization. Developed at FEE CTU for computer architecture classes.") stack-machine, written in ANSI C. Graphical output is implemented using SDL2.") (license license:expat)))) +(define-public uxn11 + (let ((commit "9483266710832a200e2db98d0c6b071d0e72b249") + (revision "0")) + (package + (name "uxn11") + (version (git-version "1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~rabbits/uxn11") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "14x939ri88kdr9cim2v29f71mfrfw7bxgffa4wcyisfy5jfgsx2c")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ;no tests + #:make-flags + #~(list (string-append "PREFIX=" + (assoc-ref %outputs "out"))) + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "makefile" + (("cc") #$(cc-for-target)))))))) + (inputs (list libx11)) + (home-page "https://100r.co/site/uxn.html") + (synopsis "Emulator for the Uxn stack-machine using X11") + (description + "This package provides an emulator for the Uxn +stack-machine. Graphical output is implemented using X11, and its Console +device contains a @code{exec} port to interface with the host system.") + (license license:expat)))) + (define-public python-keystone-engine (package (name "python-keystone-engine")