summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnderson Torres <anderson.torres.8519@gmail.com>2025-06-08 22:23:06 -0300
committerSteve George <steve@futurile.net>2025-07-16 13:05:37 +0100
commit6217aa44494bd059e6d25dc93190fd9c0c771f17 (patch)
tree89dc3977deec58f532b5ed3e82c3b64085a9d1f8
parente5478c6acf74c3d5b1d25125baac23171403bd1d (diff)
gnu: Add stella.
* gnu/packages/emulators.scm (stella): New variable. Change-Id: Ida327501493b92367fd5a7fb1c8303c66e4a9d8a Signed-off-by: Steve George <steve@futurile.net>
-rw-r--r--gnu/packages/emulators.scm41
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index 82d1b0c0ce..4b87764d9a 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -24,6 +24,7 @@
;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2025 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2025 Andrew Wong <wongandj@icloud.comg>
+;;; Copyright © 2025 Anderson Torres <anderson.torres.8519@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1026,6 +1027,46 @@ range of debugging features. It has all the features one would expect
from an emulator---from save states to scaling filters.")
(license license:expat)))
+(define-public stella
+ (package
+ (name "stella")
+ (version "7.0c")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/stella-emu/stella")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0kcbjlsi5wy0pia7apck7va86yx9y6iyy5245ylkn77khaf7wr13"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Delete machine-generated parser files
+ (with-directory-excursion "src/debugger/yacc"
+ (delete-file "y.tab.c")
+ (delete-file "y.tab.h"))))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:tests? #f ;no tests
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Regenerate the deleted files
+ (add-before 'build 'regenerate-yacc-files
+ (lambda _
+ (with-directory-excursion "src/debugger/yacc"
+ (invoke "make" "-f" "Makefile.yacc")))))))
+ (inputs (list sdl2 sqlite))
+ (native-inputs (list bison pkg-config sdl2))
+ (synopsis "Atari 2600 @acronym{VCS, Video Computer System} emulator")
+ (description "Stella is a multi-platform Atari 2600
+@acronym{VCS, Video Computer System} emulator, released as Free Software.
+Enjoy all of your favorite Atari 2600 games on your PC thanks to Stella!")
+ (home-page "https://stella-emu.github.io/")
+ (license license:gpl2+)))
+
(define-public mupen64plus-core
(package
(name "mupen64plus-core")